isAvailable static method

Future<bool> isAvailable()

Implementation

static Future<bool> isAvailable() async {
  try {
    return (await _method.invokeMethod<bool>("isAvailable")) ?? false;
  } on MissingPluginException {
    return false;
  } on PlatformException {
    return false;
  }
}