isEmpty property
bool
get
isEmpty
Returns true if the string is empty after trimming whitespace.
Implementation
bool get isEmpty => value.trim().isEmpty;
Returns true if the string is empty after trimming whitespace.
bool get isEmpty => value.trim().isEmpty;