toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final map = <String, dynamic>{};
  map['user_id'] = _userId;
  map['cp_code'] = _cpCode;
  map['first_name'] = _firstName;
  map['last_name'] = _lastName;
  map['company_name'] = _companyName;
  map['contact_no'] = _contactNo;
  map['email_address'] = _emailAddress;
  map['profile_image'] = _profileImage;
  map['birthdate'] = _birthdate;
  map['birthdate_time'] = _birthdateTime;
  map['address'] = _address;
  map['register_text'] = _registerText;
  map['rera_no'] = _reraNo;

  map['gender'] = _gender;
  map['residential_status'] = _residentialStatus;
  map['marital_status'] = _maritalStatus;

  return map;
}