refreshMaintenanceDetails function
- BuildContext context,
- int id
Refresh the maintenance details of the device with the given id
Implementation
Future<void> refreshMaintenanceDetails(BuildContext context, int id) async {
await Future.wait([
context.asyncRefresh(deviceDetailsApiFamily(id)),
context.asyncRefresh(maintenanceNotesApiFamily(id)),
]);
}