copyWith method

Sessions copyWith({
  1. List<Session>? sessions,
  2. int? inactiveSessionTtlDays,
  3. dynamic extra,
  4. int? clientId,
})

Implementation

Sessions copyWith({
  List<Session>? sessions,
  int? inactiveSessionTtlDays,
  dynamic extra,
  int? clientId,
}) => Sessions(
  sessions: sessions ?? this.sessions,
  inactiveSessionTtlDays: inactiveSessionTtlDays ?? this.inactiveSessionTtlDays,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);