Bounds<T extends num> constructor
Bounds<T extends num> (
- CustomPoint<
T> a, - CustomPoint<
T> b
Implementation
factory Bounds(CustomPoint<T> a, CustomPoint<T> b) {
var bounds1 = Bounds._(a, b);
var bounds2 = bounds1.extend(a);
return bounds2.extend(b);
}