operator <= method

bool operator <=(
  1. TimeRange other
)

Implementation

bool operator <=(TimeRange other) {
  if (other.runtimeType == TimeRange) {
    return start <= other.start && end <= other.end;
  }
  return false;
}