operator > method

bool? operator >(
  1. String s
)

Checks if the length! of the String is more than s.

Implementation

bool? operator >(String s) {
  if (this == null) {
    return null;
  }
  if (this!.isEmpty) {
    return false;
  }
  return this!.length > s.length;
}