UserData constructor
UserData(- {String? address,
- String? apiToken,
- int? cityId,
- String? contactNumber,
- int? countryId,
- String? createdAt,
- String? displayName,
- String? socialImage,
- String? email,
- String? emailVerifiedAt,
- String? firstName,
- int? id,
- int? isFeatured,
- String? lastName,
- String? description,
- String? knownLanguages,
- String? whyChooseMe,
- String? skills,
- String? providerType,
- String? cityName,
- int? providerId,
- String? providerTypeId,
- int? stateId,
- int? status,
- String? updatedAt,
- List<String>? userRole,
- String? userType,
- String? username,
- String? profileImage,
- String? uid,
- num? handymanRating,
- HandymanReview? handymanReview,
- String? lastNotificationSeen,
- String? loginType,
- int? serviceAddressId,
- String? timeZone,
- int? isOnline,
- int? isVerifyProvider,
- int? isUserExist,
- String? password,
- num? isFavourite,
- String? designation,
- String? verificationId,
- String? otpCode,
- int? totalBooking,
- 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,
});