UserData constructor

UserData(
  1. {String? address,
  2. String? apiToken,
  3. int? cityId,
  4. String? contactNumber,
  5. int? countryId,
  6. String? createdAt,
  7. String? displayName,
  8. String? socialImage,
  9. String? email,
  10. String? emailVerifiedAt,
  11. String? firstName,
  12. int? id,
  13. int? isFeatured,
  14. String? lastName,
  15. String? description,
  16. String? knownLanguages,
  17. String? whyChooseMe,
  18. String? skills,
  19. String? providerType,
  20. String? cityName,
  21. int? providerId,
  22. String? providerTypeId,
  23. int? stateId,
  24. int? status,
  25. String? updatedAt,
  26. List<String>? userRole,
  27. String? userType,
  28. String? username,
  29. String? profileImage,
  30. String? uid,
  31. num? handymanRating,
  32. HandymanReview? handymanReview,
  33. String? lastNotificationSeen,
  34. String? loginType,
  35. num? providersServiceRating,
  36. int? serviceAddressId,
  37. String? timeZone,
  38. int? isOnline,
  39. int? isVerifyProvider,
  40. int? isUserExist,
  41. String? password,
  42. num? isFavourite,
  43. String? designation,
  44. String? verificationId,
  45. String? otpCode,
  46. int? totalBooking,
  47. int? emailVerified}
)

Implementation

UserData({
  this.address,
  this.apiToken,
  this.cityId,
  this.contactNumber,
  this.countryId,
  this.createdAt,
  this.displayName,
  this.socialImage,
  this.email,
  this.emailVerifiedAt,
  this.firstName,
  this.id,
  this.isFeatured,
  this.lastName,
  this.description,
  this.knownLanguages,
  this.whyChooseMe,
  this.skills,
  this.providerType,
  this.cityName,
  this.providerId,
  this.providerTypeId,
  this.stateId,
  this.status,
  this.updatedAt,
  this.userRole,
  this.userType,
  this.username,
  this.profileImage,
  this.uid,
  this.handymanRating,
  this.handymanReview,
  this.lastNotificationSeen,
  this.loginType,
  this.providersServiceRating,
  this.serviceAddressId,
  this.timeZone,
  this.isOnline,
  this.isVerifyProvider,
  this.isUserExist,
  this.password,
  this.isFavourite,
  this.designation,
  this.verificationId,
  this.otpCode,
  this.totalBooking,
  this.emailVerified,
});