isMapAvailable method

  1. @override
Future<bool> isMapAvailable(
  1. MapType mapType
)
override

Returns true if the map app of type mapType is installed on the device, false otherwise.

Implementation

@override
Future<bool> isMapAvailable(MapType mapType) async {
  final result = await methodChannel.invokeMethod('isMapAvailable', {
    'mapType': mapType.name,
  });
  return result as bool;
}