isGoogleServicesAvailable method

  1. @override
Future<bool> isGoogleServicesAvailable()
override

Implementation

@override
Future<bool> isGoogleServicesAvailable() async {
  if (Platform.isAndroid) {
    final result =
        await methodChannel.invokeMethod<bool>('isGoogleServicesAvailable');
    return result ?? false;
  }else{
    return false;
  }
}