Bound<T> constructor
const
Bound<T> (
- {T? value,
- BoundType type = BoundType.inclusive}
Implementation
const Bound({this.value, this.type = BoundType.inclusive})
: assert(value != null &&
(type == BoundType.inclusive || type == BoundType.exclusive) ||
value == null && type == BoundType.unbounded);