getCurrentBuildingFloor method

  1. @override
Future<MPFloor?> getCurrentBuildingFloor()
override

Implementation

@override
Future<MPFloor?> getCurrentBuildingFloor() async {
  final floorData = await mapControlMethodChannel
      .invokeMethod("MPC_getCurrentBuildingFloor");
  return MPFloor.fromJson(floorData);
}