getLocations method

  1. @override
Future<List<MPLocation>?> getLocations()
override

Implementation

@override
Future<List<MPLocation>?> getLocations() async {
  final locations =
      await mapsIndoorsMethodChannel.invokeMethod("MIN_getLocations");
  return convertMIList<MPLocation>(
      jsonDecode(locations), (p0) => MPLocation.fromJson(p0));
}