isGooglePlayServicesAvailable static method
Android Only - Checks if Google Play Services is available.
Implementation
static Future<bool> isGooglePlayServicesAvailable() async {
if (Platform.isAndroid) {
final bool result = await _channel
.invokeMethod(OkHiNativeMethod.isGooglePlayServicesAvailable);
return result;
} else {
throw OkHiException(
code: OkHiException.unsupportedPlatformCode,
message: OkHiException.unsupportedPlatformMessage);
}
}