copyWith abstract method

  1. @useResult
AuthSessionInfo copyWith({
  1. UuidValue? id,
  2. UuidValue? authUserId,
  3. Set<String>? scopeNames,
  4. DateTime? created,
  5. DateTime? lastUsed,
  6. DateTime? expiresAt,
  7. Duration? expireAfterUnusedFor,
  8. String? method,
})

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

Implementation

@_i1.useResult
AuthSessionInfo copyWith({
  _i1.UuidValue? id,
  _i1.UuidValue? authUserId,
  Set<String>? scopeNames,
  DateTime? created,
  DateTime? lastUsed,
  DateTime? expiresAt,
  Duration? expireAfterUnusedFor,
  String? method,
});