copyWith abstract method
- @useResult
- UuidValue? id = const _is.$UndefinedUuidValue(),
- UuidValue? authUserId,
- AuthUser? authUser = const _UndefinedServerSideSession$authUser(),
- Set<
String> ? scopeNames, - DateTime? createdAt,
- DateTime? lastUsedAt,
- DateTime? expiresAt = const _is.$UndefinedDateTime(),
- Duration? expireAfterUnusedFor = const _is.$UndefinedDuration(),
- ByteData? sessionKeyHash,
- ByteData? sessionKeySalt,
- String? method,
Returns a shallow copy of this ServerSideSession with some or all fields replaced by the given arguments.
Implementation
@_is.useResult
ServerSideSession copyWith({
_is.UuidValue? id = const _is.$UndefinedUuidValue(),
_is.UuidValue? authUserId,
_ivyervu7.AuthUser? authUser = const _UndefinedServerSideSession$authUser(),
Set<String>? scopeNames,
DateTime? createdAt,
DateTime? lastUsedAt,
DateTime? expiresAt = const _is.$UndefinedDateTime(),
Duration? expireAfterUnusedFor = const _is.$UndefinedDuration(),
_idt.ByteData? sessionKeyHash,
_idt.ByteData? sessionKeySalt,
String? method,
});