GeoPath<T extends GeoLatLng>.from constructor
GeoPath<T extends GeoLatLng>.from (
- Iterable<
T> coordinates, { - LatLngFactory factory = _defaultLatLngFactory,
Implementation
GeoPath.from(final Iterable<T> coordinates, { final LatLngFactory factory: _defaultLatLngFactory })
: _coordinates = new List<T>.from(coordinates), _latLngFactory = factory {
GValidate.notNull(coordinates);
}