isEmptyOrNull property

bool isEmptyOrNull

Return a bool if the string is null or empty

Implementation

bool get isEmptyOrNull {
  if (this == null || this == '') {
    return true;
  }
  return false;
}