copyWith abstract method

  1. @useResult
RefreshToken copyWith({
  1. UuidValue? id,
  2. UuidValue? authUserId,
  3. AuthUser? authUser,
  4. Set<String>? scopeNames,
  5. String? extraClaims,
  6. String? method,
  7. ByteData? fixedSecret,
  8. String? rotatingSecretHash,
  9. DateTime? lastUpdatedAt,
  10. DateTime? createdAt,
})

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

Implementation

@_i1.useResult
RefreshToken copyWith({
  _i1.UuidValue? id,
  _i1.UuidValue? authUserId,
  _i2.AuthUser? authUser,
  Set<String>? scopeNames,
  String? extraClaims,
  String? method,
  _i3.ByteData? fixedSecret,
  String? rotatingSecretHash,
  DateTime? lastUpdatedAt,
  DateTime? createdAt,
});