copyWith abstract method

  1. @useResult
EmailAccount copyWith({
  1. UuidValue? id = const _is.$UndefinedUuidValue(),
  2. UuidValue? authUserId,
  3. AuthUser? authUser = const _UndefinedEmailAccount$authUser(),
  4. DateTime? createdAt,
  5. String? email,
  6. String? passwordHash,
})

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

Implementation

@_is.useResult
EmailAccount copyWith({
  _is.UuidValue? id = const _is.$UndefinedUuidValue(),
  _is.UuidValue? authUserId,
  _iacs.AuthUser? authUser = const _UndefinedEmailAccount$authUser(),
  DateTime? createdAt,
  String? email,
  String? passwordHash,
});