class BeneficiaryAccountModel { String porOrgacode = ""; String email = ""; String pcrCurrcode = ""; String pcrCurrdesc = ""; String pcrCurrshort = ""; String mbmBkmstitleRef = ""; String mbmBkmsnumberRef = ""; String refPhoneNumber = ""; String refEmail = ""; String refNickName = ""; BeneficiaryAccountModel({ this.porOrgacode = "", this.email = "", this.pcrCurrcode = "", this.pcrCurrdesc = "", this.pcrCurrshort = "", this.mbmBkmstitleRef = "", this.mbmBkmsnumberRef = "", this.refPhoneNumber = "", this.refEmail = "", this.refNickName = "", }); Map toMap() { return { 'porOrgacode': this.porOrgacode, 'email': this.email, 'pcrCurrcode': this.pcrCurrcode, 'pcrCurrdesc': this.pcrCurrdesc, 'pcrCurrshort': this.pcrCurrshort, 'mbmBkmstitleRef': this.mbmBkmstitleRef, 'mbmBkmsnumberRef': this.mbmBkmsnumberRef, 'refPhoneNumber': this.refPhoneNumber, 'refEmail': this.refEmail, 'refNickName': this.refNickName, }; } factory BeneficiaryAccountModel.fromMap(Map map) { return BeneficiaryAccountModel( porOrgacode: map['porOrgacode'] ?? "", email: map['email'] ?? "", pcrCurrcode: map['pcrCurrcode'] ?? "", pcrCurrdesc: map['pcrCurrdesc'] ?? "", pcrCurrshort: map['pcrCurrshort'] ?? "", mbmBkmstitleRef: map['mbmBkmstitleRef'] ?? "", mbmBkmsnumberRef: map['mbmBkmsnumberRef'] ?? "", refPhoneNumber: map['refPhoneNumber'] ?? "", refEmail: map['refEmail'] ?? "", refNickName: map['refNickName'] ?? "", ); } @override String toString() { return 'BeneficiaryAccountModel{porOrgacode: $porOrgacode, email: $email, pcrCurrcode: $pcrCurrcode, pcrCurrdesc: $pcrCurrdesc, pcrCurrshort: $pcrCurrshort, mbmBkmstitleRef: $mbmBkmstitleRef, mbmBkmsnumberRef: $mbmBkmsnumberRef, refPhoneNumber: $refPhoneNumber, refEmail: $refEmail, refNickName: $refNickName}'; } }