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