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

53 lines
1.3 KiB
Dart

class VerifySignupOtpRequest {
String username = "";
String email = "";
String phone = "";
String channelCode = "";
String porOrgacode = "";
String obpPincode = "";
VerifySignupOtpRequest({
this.username = "",
this.email = "",
this.phone = "",
this.channelCode = "",
this.porOrgacode = "",
this.obpPincode = "",
});
VerifySignupOtpRequest.empty()
: this.username = "",
this.email = "",
this.phone = "",
this.channelCode = "",
this.porOrgacode = "",
this.obpPincode = "";
Map<String, dynamic> toMap() {
return {
'username': username,
'email': email,
'phone': phone,
'channelCode': channelCode,
'porOrgacode': porOrgacode,
'obpPincode': obpPincode,
};
}
factory VerifySignupOtpRequest.fromMap(Map<String, dynamic> map) {
return VerifySignupOtpRequest(
username: map['username'],
email: map['email'],
phone: map['phone'],
channelCode: map['channelCode'],
porOrgacode: map['porOrgacode'],
obpPincode: map['obpPincode'],
);
}
@override
String toString() {
return 'VerifySignupOtpRequest{username: $username, email: $email, phone: $phone, channelCode: $channelCode, porOrgacode: $porOrgacode, obpPincode: $obpPincode}';
}
}