stopForegroundService method

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

Implementation

@override
Future<bool> stopForegroundService() async {
  final result = await methodChannel.invokeMethod<bool>(
    'stopForegroundService',
  );
  return result ?? false;
}