isBlank method
Returns true
if the string is blank or empty, false
otherwise.
Implementation
bool isBlank() {
return trim().isEmpty;
}
Returns true
if the string is blank or empty, false
otherwise.
bool isBlank() {
return trim().isEmpty;
}