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