class AccountInquiryResponseModel { String mbmBkmstitle = ""; String mbmBkmsnumber = ""; String pcrCurrcode = ""; String pcrCurrdesc = ""; String pcrCurrshort = ""; AccountInquiryResponseModel({ this.mbmBkmstitle = "", this.mbmBkmsnumber = "", this.pcrCurrcode = "", this.pcrCurrdesc = "", this.pcrCurrshort = "", }); static List fromList(List list) { return list.map((item) => AccountInquiryResponseModel.fromMap(AccountInquiryResponseModel.fromMap(item as Map).toMap())).toList(); } Map toMap() { return { 'mbmBkmstitle': this.mbmBkmstitle, 'mbmBkmsnumber': this.mbmBkmsnumber, 'pcrCurrcode': this.pcrCurrcode, 'pcrCurrdesc': this.pcrCurrdesc, 'pcrCurrshort': this.pcrCurrshort, }; } factory AccountInquiryResponseModel.fromMap(Map map) { return AccountInquiryResponseModel( mbmBkmstitle: map['mbmBkmstitle'] ?? "", mbmBkmsnumber: map['mbmBkmsnumber'] ?? "", pcrCurrcode: map['pcrCurrcode'] ?? "", pcrCurrdesc: map['pcrCurrdesc'] ?? "", pcrCurrshort: map['pcrCurrshort'] ?? "", ); } @override String toString() { return 'AccountInquiryResponseModel{mbmBkmstitle: $mbmBkmstitle, mbmBkmsnumber: $mbmBkmsnumber, pcrCurrcode: $pcrCurrcode, pcrCurrdesc: $pcrCurrdesc, pcrCurrshort: $pcrCurrshort}'; } }