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.
29 lines
803 B
Dart
29 lines
803 B
Dart
|
1 month ago
|
class UploadUserProfileModel {
|
||
|
|
String porOrgacode = "";
|
||
|
|
String cmpCustcode = "";
|
||
|
|
String cmpCustImage = "";
|
||
|
|
|
||
|
|
UploadUserProfileModel({this.porOrgacode = "", this.cmpCustcode = "", this.cmpCustImage = ""});
|
||
|
|
|
||
|
|
Map<String, dynamic> toMap() {
|
||
|
|
return {
|
||
|
|
'porOrgacode': this.porOrgacode,
|
||
|
|
'cmpCustcode': this.cmpCustcode,
|
||
|
|
'cmpCustImage': this.cmpCustImage,
|
||
|
|
};
|
||
|
|
}
|
||
|
|
|
||
|
|
factory UploadUserProfileModel.fromMap(Map<String, dynamic> map) {
|
||
|
|
return UploadUserProfileModel(
|
||
|
|
porOrgacode: map['porOrgacode'] ?? "",
|
||
|
|
cmpCustcode: map['cmpCustcode'] ?? "",
|
||
|
|
cmpCustImage: map['cmpCustImage'] ?? "",
|
||
|
|
);
|
||
|
|
}
|
||
|
|
|
||
|
|
@override
|
||
|
|
String toString() {
|
||
|
|
return 'UploadUserProfileModel{porOrgacode: $porOrgacode, cmpCustcode: $cmpCustcode, cmpCustImage: $cmpCustImage}';
|
||
|
|
}
|
||
|
|
}
|