stopNotificationPolling method

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

Stop polling for notifications.

Returns true if polling was stopped successfully.

Implementation

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