isWhitespace property
True if the string is entirely made up of whitespace characters, False otherwise.
Implementation
bool get isWhitespace =>
isNotEmpty && all((s) => _whitespaceChar.hasMatch(s));
True if the string is entirely made up of whitespace characters, False otherwise.
bool get isWhitespace =>
isNotEmpty && all((s) => _whitespaceChar.hasMatch(s));