operator > method

bool operator >(
  1. dynamic other
)

Implementation

bool operator >(final other) {
  if (other == null) return true;
  TokenCheckResult? type;
  if (other is TokenCheck) {
    type = other.result;
  } else if (other is TokenCheckResult) {
    type = other;
  }
  if (type == null) throw "Can't compare to ${other?.runtimeType}";
  return type > result;
}