Path<T extends LatLng>.from constructor
Path<T extends LatLng>.from (
- List<
T> coordinates, { - GeoPositionFactory geoPositionFactory = _defGeoPositionFactory,
- Distance getDistance = const Distance(),
Implementation
Path.from(
this.coordinates, {
this.geoPositionFactory = _defGeoPositionFactory,
this.getDistance = const Distance(),
}) {
Validate.notNull(coordinates);
}