Bounds<T extends Point<num> >.make constructor
Bounds<T extends Point<num> >.make (
- Iterable<
Iterable< values,num> > - PointFactory<
T> pointFactory
Create Bounds from values
with two points (both a list of nums).
Implementation
factory Bounds.make(
Iterable<Iterable<num>> values,
PointFactory<T> pointFactory,
) =>
Bounds<T>.of(
min: pointFactory.newFrom(values.elementAt(0)),
max: pointFactory.newFrom(values.elementAt(1)),
);