copyWith abstract method

  1. @useResult
ServerSideSession copyWith({
  1. UuidValue? id,
  2. UuidValue? authUserId,
  3. AuthUser? authUser,
  4. Set<String>? scopeNames,
  5. DateTime? createdAt,
  6. DateTime? lastUsedAt,
  7. DateTime? expiresAt,
  8. Duration? expireAfterUnusedFor,
  9. ByteData? sessionKeyHash,
  10. ByteData? sessionKeySalt,
  11. String? method,
})

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

Implementation

@_i1.useResult
ServerSideSession copyWith({
  _i1.UuidValue? id,
  _i1.UuidValue? authUserId,
  _i2.AuthUser? authUser,
  Set<String>? scopeNames,
  DateTime? createdAt,
  DateTime? lastUsedAt,
  DateTime? expiresAt,
  Duration? expireAfterUnusedFor,
  _i3.ByteData? sessionKeyHash,
  _i3.ByteData? sessionKeySalt,
  String? method,
});