refactored timetable

This commit is contained in:
MineTec committed 2026-05-05 13:49:45 +02:00
1 parent 551c1bf1fa
commit e8faa77e70
29 files changed
+1574 -300

No files matched your search

@@ -8,7 +8,17 @@ import 'getCustomTimetableEventResponse.dart';
class GetCustomTimetableEventCache extends RequestCache<GetCustomTimetableEventResponse> {
GetCustomTimetableEventParams params;
GetCustomTimetableEventCache(this.params, {onUpdate, renew}) : super(RequestCache.cacheMinute, onUpdate, renew: renew) {
GetCustomTimetableEventCache(
this.params, {
void Function(GetCustomTimetableEventResponse)? onUpdate,
void Function(Exception)? onError,
bool? renew,
}) : super(
RequestCache.cacheMinute,
onUpdate,
onError: onError ?? RequestCache.ignore,
renew: renew,
) {
start('customTimetableEvents');
}