UserData constructor

UserData({
  1. String? userId,
  2. String? cpCode,
  3. String? firstName,
  4. String? lastName,
  5. String? companyName,
  6. String? contactNo,
  7. String? emailAddress,
  8. String? profileImage,
  9. String? birthdate,
  10. String? birthdateTime,
  11. String? address,
  12. String? registerText,
  13. String? reraNo,
  14. String? gender,
  15. String? residentialStatus,
  16. String? maritalStatus,
})

Implementation

UserData({
    String? userId,
    String? cpCode,
    String? firstName,
    String? lastName,
    String? companyName,
    String? contactNo,
    String? emailAddress,
    String? profileImage,
    String? birthdate,
    String? birthdateTime,
    String? address,
    String? registerText,
    String? reraNo,
  String? gender,
  String? residentialStatus,
  String? maritalStatus,}){
  _userId = userId;
  _cpCode = cpCode;
  _firstName = firstName;
  _lastName = lastName;
  _companyName = companyName;
  _contactNo = contactNo;
  _emailAddress = emailAddress;
  _profileImage = profileImage;
  _birthdate = birthdate;
  _birthdateTime = birthdateTime;
  _address = address;
  _registerText = registerText;
  _reraNo = reraNo;
  _gender = gender;
  _residentialStatus = residentialStatus;
  _maritalStatus = maritalStatus;
}