stop method

Future<void> stop()

Implementation

Future<void> stop() => _serial(() async {
  if (!await FlutterForegroundTask.isRunningService) return;
  _report(await FlutterForegroundTask.stopService());
});