copyWith method

Sessions copyWith({
  1. List<Session>? sessions,
  2. int? inactiveSessionTtlDays,
})

Implementation

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