Max<T extends Comparable<Object?> >.closed constructor
const
Max<T extends Comparable<Object?> >.closed (
- T value
Creates a Max with the closed upper bound.
In other words, this range includes value
, i.e. { x | x <= value }
.
Implementation
const Max.closed(this.value): open = false;