copyWith abstract method

  1. @useResult
AuthSuccess copyWith({
  1. String? authStrategy,
  2. String? token,
  3. DateTime? tokenExpiresAt,
  4. String? refreshToken,
  5. UuidValue? authUserId,
  6. Set<String>? scopeNames,
})

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

Implementation

@_i1.useResult
AuthSuccess copyWith({
  String? authStrategy,
  String? token,
  DateTime? tokenExpiresAt,
  String? refreshToken,
  _i1.UuidValue? authUserId,
  Set<String>? scopeNames,
});