getCurrentBuilding method

  1. @override
Future<MPBuilding?> getCurrentBuilding()
override

Implementation

@override
Future<MPBuilding?> getCurrentBuilding() async {
  final buildingData =
      await mapControlMethodChannel.invokeMethod("MPC_getCurrentBuilding");
  return MPBuilding.fromJson(buildingData);
}