hasBackgroundRegionCallback method

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

Checks whether handles are currently persisted on the platform side. @returns true when a background callback is registered.

Implementation

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