inspectorResponse method

Future<void> inspectorResponse(
  1. String uuid,
  2. ResponseInspector response
)

Insert Inspector to local then show local notification for response http

Implementation

Future<void> inspectorResponse(
  String uuid,
  ResponseInspector response,
) async {
  if (!saveInspectorToLocal) return;
  await InspectorService.updateResponse(uuid, response);
  await showLocalNotification();
}