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/upload_user_profile_model.dart

29 lines
803 B
Dart

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}';
}
}