fetchPoiFromBuilding method

Future<Poi?> fetchPoiFromBuilding(
  1. String buildingIdentifier,
  2. String poiIdentifier
)

Returns the given indoor POI for the given building.

Implementation

Future<Poi?> fetchPoiFromBuilding(
    String buildingIdentifier, String poiIdentifier) async {
  var response = await methodChannel.invokeMethod("fetchPoiFromBuilding", {
    "buildingIdentifier": buildingIdentifier,
    "poiIdentifier": poiIdentifier
  });
  return createPoi(response);
}