operator <= method

bool? operator <=(
  1. num other
)

Relational less than or equal operator.

Implementation

bool? operator <=(num other) {
  if (value != null) {
    return value! <= other;
  }
  return null;
}