onStop method

  1. @override
Future<bool> onStop()
override

Callback when this executor is stopped. Returns true if successfully stopped, false otherwise.

Implementation

@override
Future<bool> onStop() async {
  await deviceManager.device?.physicalActivityService?.enableNotify();
  return await super.onStop();
}