isNullOrWhiteSpace property

bool get isNullOrWhiteSpace

isNullOrWhiteSpace: checks if the string is null, empty, or whitespace

Implementation

bool get isNullOrWhiteSpace {
  return this == null || this!.trim().isEmpty;
}