copyWith abstract method

  1. @useResult
EmailAccount copyWith({
  1. UuidValue? id,
  2. UuidValue? authUserId,
  3. AuthUser? 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

@_i1.useResult
EmailAccount copyWith({
  _i1.UuidValue? id,
  _i1.UuidValue? authUserId,
  _i2.AuthUser? authUser,
  DateTime? createdAt,
  String? email,
  String? passwordHash,
});