installedMaps property

  1. @override
Future<List<AvailableMap>> get installedMaps
override

Returns a list of AvailableMap objects representing the map apps currently installed on the device.

Implementation

@override
Future<List<AvailableMap>> get installedMaps async {
  final maps = await methodChannel.invokeMethod('getInstalledMaps');
  return List<AvailableMap>.from(
    maps.map((map) => AvailableMap.fromJson(map)),
  );
}