stopBackgroundPollingService method

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

Stop the background poller process started via startBackgroundPollingService.

Implementation

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