isRegisterLocationUpdate static method

Future<bool> isRegisterLocationUpdate()

Checks if a location update callback is currently registered.

Returns true if registerLocationUpdate has been called and the service is actively tracking location. Returns false if the service is not registered.

Returns: A Future that resolves to true if location tracking is registered, false otherwise.

Implementation

static Future<bool> isRegisterLocationUpdate() async {
  return (await _channel
      .invokeMethod<bool>(Keys.METHOD_PLUGIN_IS_REGISTER_LOCATION_UPDATE))!;
}