copyWith method

UserReview copyWith(
  1. {num? id,
  2. String? firstName,
  3. String? lastName,
  4. String? fullName,
  5. dynamic username,
  6. String? email,
  7. dynamic latitude,
  8. dynamic longitude,
  9. dynamic address,
  10. dynamic hometown,
  11. dynamic country,
  12. dynamic state,
  13. dynamic city,
  14. dynamic countryCode,
  15. dynamic contactNumber,
  16. String? accountType,
  17. String? userType,
  18. String? dob,
  19. dynamic gender,
  20. dynamic aboutMe,
  21. dynamic relationshipStatus,
  22. dynamic businessIds,
  23. List<num>? interestIds,
  24. List<num>? musicTypeIds,
  25. num? status,
  26. dynamic timeZone,
  27. String? createdAt,
  28. dynamic emailVerifiedAt,
  29. dynamic loginType,
  30. dynamic uid,
  31. dynamic socialImage,
  32. dynamic socialMediaUrl,
  33. String? isOnline,
  34. dynamic otp,
  35. String? profileImage,
  36. String? apiToken,
  37. num? totalReviews,
  38. num? followers,
  39. num? following,
  40. 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,
    );