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