isNullOrWhiteSpace property
bool
isNullOrWhiteSpace
Returns true if the string is null or empty.
Implementation
bool get isNullOrWhiteSpace {
if (this == null) {
return true;
}
if (this!.trim().isEmpty) {
return true;
}
return false;
}