toJson method
Implementation
Map<String, dynamic> toJson() {
return {
"hcpId" : hcpId,
"hashedHcpId" : hashedHcpId,
"firstName" : firstName,
"lastName" : lastName,
"specialization" : specialization,
"organisation" : organisation,
"zipCode" : zipCode,
"city" : city,
"gender" : gender,
"email" : email,
"mobile" : mobile,
"hashedEmail" : hashedEmail,
"DOB" : dob,
"WL" : wl,
"State" : state,
"Country" : country
};
}