Path<T extends LatLng>.from constructor

Path<T extends LatLng>.from(
  1. List<T> coordinates, {
  2. GeoPositionFactory geoPositionFactory = _defGeoPositionFactory,
  3. Distance getDistance = const Distance(),
})

Implementation

Path.from(
  this.coordinates, {
  this.geoPositionFactory = _defGeoPositionFactory,
  this.getDistance = const Distance(),
}) {
  Validate.notNull(coordinates);
}