isAvailable static method

Future<bool> isAvailable()

Returns whether the native Navigation SDK is available on this platform.

Implementation

static Future<bool> isAvailable() async {
  try {
    final ok = await _ch.invokeMethod<bool>('nav_ui#isAvailable');
    return ok ?? false;
  } catch (_) {
    return false;
  }
}