isOnlyWhiteSpace property
bool
get
isOnlyWhiteSpace
This primarily checks if the trimmed string is empty.
Implementation
bool get isOnlyWhiteSpace => trim().isEmpty;
This primarily checks if the trimmed string is empty.
bool get isOnlyWhiteSpace => trim().isEmpty;