User constructor

User({
  1. required String sId,
  2. String? status,
  3. bool? isVerified,
  4. String? fullName,
  5. String? mobileNo,
  6. String? gender,
  7. int? age,
  8. String? bio,
  9. DateTime? createdAt,
  10. int? connectionsCount = 0,
  11. String? countryFlag,
  12. String? countryName,
  13. bool? isOnline,
  14. List<SocialAccounts>? socialAccountsList,
  15. UserType? type,
  16. DateTime? dateOfBirth,
  17. LoginMethodType? loginMethodType,
})

Implementation

User({
  required this.sId,
  this.status,
  this.isVerified,
  this.fullName,
  // this.countryData,
  this.mobileNo,
  this.gender,
  this.age,
  // this.interests,
  this.bio,
  // this.userMedia,
  this.createdAt,
  this.connectionsCount = 0,
  this.countryFlag,
  this.countryName,
  this.isOnline,
  this.socialAccountsList,
  this.type,
  this.dateOfBirth,
  this.loginMethodType,
});