isAvailable method
Implementation
@override
Future<bool> isAvailable() async {
try {
return await methodChannel.invokeMethod<bool>('isAvailable') ?? false;
} on MissingPluginException {
return false;
} on PlatformException catch (error) {
throw NativeAddressAutocompleteException(
error.message ?? 'Address autocomplete availability check failed.',
code: error.code,
);
}
}