isNullOrEmpty property

bool isNullOrEmpty

Returns true if the String is either null or empty.

Implementation

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

  return isEmpty;
}