You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
uco-mobile-poc/lib/app/models/finger_print_info.dart

37 lines
923 B
Dart

class FingerPrintInfo {
String porOrgacode;
String channelCode;
String cmpUserId;
String cmpCustpassword;
FingerPrintInfo({
this.porOrgacode = '',
this.channelCode = '',
this.cmpUserId = '',
this.cmpCustpassword = '',
});
Map<String, dynamic> toMap() {
return {
'porOrgacode': this.porOrgacode,
'channelCode': this.channelCode,
'cmpUserId': this.cmpUserId,
'cmpCustpassword': this.cmpCustpassword,
};
}
factory FingerPrintInfo.fromMap(Map<String, dynamic> map) {
return FingerPrintInfo(
porOrgacode: map['porOrgacode'] ?? "",
channelCode: map['channelCode'] ?? "",
cmpUserId: map['cmpUserId'] ?? "",
cmpCustpassword: map['cmpCustpassword'] ?? "",
);
}
@override
String toString() {
return '{porOrgacode: $porOrgacode, channelCode: $channelCode, cmpUserId: $cmpUserId, cmpCustpassword: $cmpCustpassword}';
}
}