UpperBound<T> class Null safety

Inheritance

Constructors

UpperBound({T? value, BoundType type = BoundType.inclusive})
const
UpperBound.from(Bound<T>? bound)
factory
UpperBound.unbounded()
const

Properties

hashCode int
The hash code for this object.
read-only, inherited
isExclusive bool
read-only, inherited
isFinite bool
read-only, inherited
isInclusive bool
read-only, inherited
isInfinite bool
read-only, inherited
isLower bool
read-only, inherited
isNotEmpty bool
read-only, inherited
isUpper bool
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type BoundType
final, inherited
value → T?
final, inherited

Methods

invert() Bound<T>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited