getCustomPoiById method
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;
}