isEmptyOrWhitespace property
bool
get
isEmptyOrWhitespace
Determines whether the string is empty or contains only whitespaces.
Implementation
bool get isEmptyOrWhitespace => isEmpty || trim().isEmpty;
Determines whether the string is empty or contains only whitespaces.
bool get isEmptyOrWhitespace => isEmpty || trim().isEmpty;