geoPoints method

Future<List<GeoPoint>> geoPoints()
inherited

Implementation

Future<List<GeoPoint>> geoPoints() async {
  var mapJsonJS = await interop.getGeoPoints(mapIdMixin.toJS).toDart;
  final mapGeoPoints = json.decode(mapJsonJS.toDart);
  return (List.castFrom(
    mapGeoPoints,
  )).map((elem) => GeoPoint.fromMap(Map<String, double>.from(elem))).toList();
}