mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-08-25 21:49:41 +00:00
Refactor memory event handling: replace MemoryBookableSpaceService with a new implementation and integrate caching logic in CalendarEventsBloc
This commit is contained in:
@ -26,3 +26,9 @@ class LoadEventsParam extends Equatable {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
extension KeyGenerator on LoadEventsParam {
|
||||
String generateKey() {
|
||||
return '$id-${startDate.year}-${startDate.month.toString().padLeft(2, '0')}';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user