alertsApiFamily top-level property

FutureProviderFamily<List<AlertDTO>, int> alertsApiFamily
final

Implementation

final alertsApiFamily = FutureProvider.family<List<AlertDTO>, int>(
  (ref, int id) => ref
      .watch(energyManagementV3ApiProvider.future)
      .then(
        (api) => api.kemApiV3DevicesIdAlertsGet(id: id),
      )
      .then(responseToValue),
);