toJson method
Implementation
Map<String, dynamic> toJson() => {
"id": id,
"first_name": firstName,
"middle_name": middleName,
"last_name": lastName,
"email": email,
"dob": dob,
"phone_number": phoneNumber,
"picture": picture,
"city": city,
"country": country,
"state": state,
"address": address,
"code": code,
"zip": zip,
"status": status,
"created_at": createdAt,
};