allOngoingEventListProvider top-level property
final
Implementation
final allOngoingEventListProvider = FutureProvider.autoDispose
.family<List<ffi.CalendarEvent>, String?>((ref, spaceId) async {
final allEventList = await ref.watch(allEventListProvider(spaceId).future);
List<ffi.CalendarEvent> allOngoingEventList = allEventList
.where(
(event) => ref.watch(eventTypeProvider(event)) == EventFilters.ongoing,
)
.toList();
return sortEventListAscTime(allOngoingEventList);
});