toJson method
Implementation
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['id'] = id;
map['first_name'] = firstName;
map['last_name'] = lastName;
map['full_name'] = fullName;
map['email'] = email;
map['latitude'] = latitude;
map['longitude'] = longitude;
map['address'] = address;
map['country'] = country;
map['state'] = state;
map['city'] = city;
map['country_code'] = countryCode;
map['contact_number'] = contactNumber;
map['account_type'] = accountType;
map['user_type'] = userType;
map['dob'] = dob;
map['gender'] = gender;
map['about_me'] = aboutMe;
map['relationship_status'] = relationshipStatus;
map['business_ids'] = businessIds;
map['interest_ids'] = interestIds;
map['music_type_ids'] = musicTypeIds;
map['status'] = status;
map['time_zone'] = timeZone;
map['created_at'] = createdAt;
map['email_verified_at'] = emailVerifiedAt;
map['login_type'] = loginType;
map['uid'] = uid;
map['social_image'] = socialImage;
map['social_media_url'] = socialMediaUrl;
map['otp'] = otp;
map['profile_image'] = profileImage;
map['api_token'] = apiToken;
map['total_reviews'] = totalReviews;
map['followers'] = followers;
map['following'] = following;
map['total_review'] = totalReview;
return map;
}