getCustomPoiById method

Future<CustomPoi?> getCustomPoiById(
  1. int poiId
)

Implementation

Future<CustomPoi?> getCustomPoiById(int poiId) async {
  log("Dart getCustomPoi called, methodChannel will be invoked.");
  var result = await methodChannel
      .invokeMethod('getCustomPoiById', <String, int>{'poiId': poiId});
  return result != null ? createCustomPoi(result) : null;
}