operator >= method

bool operator >=(
  1. dynamic other
)

Dynamically resolves greater-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);
}