User constructor
User(- {num? id,
- String? firstName,
- String? lastName,
- String? fullName,
- String? email,
- String? latitude,
- String? longitude,
- String? address,
- String? country,
- String? state,
- String? city,
- dynamic countryCode,
- String? contactNumber,
- String? accountType,
- String? userType,
- String? dob,
- String? gender,
- dynamic aboutMe,
- dynamic relationshipStatus,
- List<num>? businessIds,
- List<num>? interestIds,
- List<num>? musicTypeIds,
- num? status,
- String? timeZone,
- String? createdAt,
- dynamic emailVerifiedAt,
- dynamic loginType,
- dynamic uid,
- dynamic socialImage,
- dynamic socialMediaUrl,
- dynamic otp,
- String? profileImage,
- String? apiToken,
- num? totalReviews,
- num? followers,
- num? following,
- num? totalReview}
)
Implementation
User({
this.id,
this.firstName,
this.lastName,
this.fullName,
this.email,
this.latitude,
this.longitude,
this.address,
this.country,
this.state,
this.city,
this.countryCode,
this.contactNumber,
this.accountType,
this.userType,
this.dob,
this.gender,
this.aboutMe,
this.relationshipStatus,
this.businessIds,
this.interestIds,
this.musicTypeIds,
this.status,
this.timeZone,
this.createdAt,
this.emailVerifiedAt,
this.loginType,
this.uid,
this.socialImage,
this.socialMediaUrl,
this.otp,
this.profileImage,
this.apiToken,
this.totalReviews,
this.followers,
this.following,
this.totalReview,});