copyWith abstract method

  1. @useResult
AuthUser copyWith({
  1. UuidValue? id = const _is.$UndefinedUuidValue(),
  2. DateTime? createdAt,
  3. Set<String>? scopeNames,
  4. bool? blocked,
})

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

Implementation

@_is.useResult
AuthUser copyWith({
  _is.UuidValue? id = const _is.$UndefinedUuidValue(),
  DateTime? createdAt,
  Set<String>? scopeNames,
  bool? blocked,
});