stopForegroundService method
Stop the foreground service for notification polling.
Returns true if the service was stopped successfully.
Implementation
@override
Future<bool> stopForegroundService() async {
final result = await methodChannel.invokeMethod<bool>(
'stopForegroundService',
);
return result ?? false;
}