copyWith abstract method

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

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

Implementation

@_is.useResult
UserProfile copyWith({
  _is.UuidValue? id = const _is.$UndefinedUuidValue(),
  _is.UuidValue? authUserId,
  _ivyervu7.AuthUser? authUser = const _UndefinedUserProfile$authUser(),
  String? userName,
  String? fullName,
  String? email,
  DateTime? createdAt,
  _is.UuidValue? imageId = const _is.$UndefinedUuidValue(),
  _i7y29ltp.UserProfileImage? image = const _UndefinedUserProfile$image(),
});