toJson method Null safety
Implementation
Map<String, dynamic> toJson() => {
"password": password,
"conditionAgreement": conditionAgreement,
"mobileType": mobileType,
"isSubscribed": isSubscribed,
"deviceID": deviceId,
"id": id,
"firstName": firstName,
"lastName": lastName,
"mobile": mobile,
"email": email,
"isActive": isActive,
"zoneID": zoneId,
"gender": gender,
};