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.
42 lines
1.2 KiB
Dart
42 lines
1.2 KiB
Dart
import 'dart:convert';
|
|
|
|
class BasicMemberInformationModel {
|
|
String? pReturnStatus;
|
|
dynamic pReturnMsg;
|
|
String? pMobileNumber;
|
|
String? pEmailAddress;
|
|
String? pLegislationCode;
|
|
String? logInTokenId;
|
|
|
|
BasicMemberInformationModel({
|
|
this.pReturnStatus,
|
|
this.pReturnMsg,
|
|
this.pMobileNumber,
|
|
this.pEmailAddress,
|
|
this.pLegislationCode,
|
|
this.logInTokenId,
|
|
});
|
|
|
|
factory BasicMemberInformationModel.fromRawJson(String str) => BasicMemberInformationModel.fromJson(json.decode(str));
|
|
|
|
String toRawJson() => json.encode(toJson());
|
|
|
|
factory BasicMemberInformationModel.fromJson(Map<String, dynamic> json) => BasicMemberInformationModel(
|
|
pReturnStatus: json["p_RETURN_STATUS"],
|
|
pReturnMsg: json["p_RETURN_MSG"],
|
|
pMobileNumber: json["p_MOBILE_NUMBER"],
|
|
pEmailAddress: json["p_EMAIL_ADDRESS"],
|
|
pLegislationCode: json["p_LEGISLATION_CODE"],
|
|
logInTokenId: json["logInTokenID"],
|
|
);
|
|
|
|
Map<String, dynamic> toJson() => {
|
|
"p_RETURN_STATUS": pReturnStatus,
|
|
"p_RETURN_MSG": pReturnMsg,
|
|
"p_MOBILE_NUMBER": pMobileNumber,
|
|
"p_EMAIL_ADDRESS": pEmailAddress,
|
|
"p_LEGISLATION_CODE": pLegislationCode,
|
|
"logInTokenID": logInTokenId,
|
|
};
|
|
}
|