isNullOrBlank method

bool isNullOrBlank()

Checks if data is null or blank (empty or only contains whitespace).

Implementation

bool isNullOrBlank() {
  if (isNull) {
    return true;
  }
  return _isEmpty(this);
}