eventsApiFamily top-level property

FutureProviderFamily<List<EventDTO>, int> eventsApiFamily
final

Implementation

final eventsApiFamily = FutureProvider.family<List<EventDTO>, int>(
  (ref, int id) => ref
      .watch(energyManagementV3ApiProvider.future)
      .then(
        (api) => api.kemApiV3DevicesIdEventsGet(id: id),
      )
      .then(responseToValue),
);