getLocationById method

  1. @override
Future<MPLocation?> getLocationById(
  1. String id
)
override

Implementation

@override
Future<MPLocation?> getLocationById(String id) async {
  final location = await mapsIndoorsMethodChannel
      .invokeMethod("MIN_getLocationById", {"id": id});
  return MPLocation.fromJson(location);
}