getPOIs method

Future<List<PointOfInterest>> getPOIs()

retrieve available Points Of Interest

Implementation

Future<List<PointOfInterest>> getPOIs() async {
  List<dynamic> poisMapList = await _channel.invokeMethod('getPOIs');
  return poisMapList
      .map((poiMap) => PointOfInterest.fromMap(poiMap))
      .toList();
}