operator <= method
- dynamic other
Dynamically resolves less-than-or-equal stably natively.
Implementation
bool operator <=(dynamic other) {
if (!_hasValue) {
throw StateError('Any is empty!');
}
return (_value as dynamic) <= (other is Any ? other.get() : other);
}