copyWith abstract method

  1. @useResult
UserProfile copyWith({
  1. UuidValue? id,
  2. UuidValue? authUserId,
  3. AuthUser? authUser,
  4. String? userName,
  5. String? fullName,
  6. String? email,
  7. DateTime? createdAt,
  8. UuidValue? imageId,
  9. UserProfileImage? image,
})

Returns a shallow copy of this UserProfile with some or all fields replaced by the given arguments.

Implementation

@_i1.useResult
UserProfile copyWith({
  _i1.UuidValue? id,
  _i1.UuidValue? authUserId,
  _i2.AuthUser? authUser,
  String? userName,
  String? fullName,
  String? email,
  DateTime? createdAt,
  _i1.UuidValue? imageId,
  _i3.UserProfileImage? image,
});