Path<T extends LatLng>.from constructor

Path<T extends LatLng>.from(
  1. Iterable<T> coordinates, {
  2. LatLngFactory factory = _defaultLatLngFactory,
})

Implementation

Path.from(final Iterable<T> coordinates,
    {final LatLngFactory factory = _defaultLatLngFactory})
    : _coordinates = List<T>.from(coordinates),
      _latLngFactory = factory;