fullRefreshEventLog function

Future<void> fullRefreshEventLog(
  1. BuildContext context,
  2. int id
)

Refresh the event log of the device with the given ID

Implementation

Future<void> fullRefreshEventLog(BuildContext context, int id) async {
  await Future.wait([
    context.fullRefresh(deviceDetailsApiFamily(id)),
    context.fullRefresh(alertsApiFamily(id)),
    context.fullRefresh(eventsApiFamily(id)),
  ]);
}