isNullOrEmpty property

bool get isNullOrEmpty

Returns true if the String is either null or empty.

Implementation

bool get isNullOrEmpty {
  if (this == null) {
    return true;
  }

  return isEmpty;
}