isNullOrEmpty method

bool isNullOrEmpty()

Implementation

bool isNullOrEmpty() {
  if (this == null) {
    return true;
  } else if (this!.isEmpty) {
    return true;
  }
  return false;
}