isWhitespace property
Whether the current character is whitespace.
In this case, whitespace refers to a non-escaped space character (ASCII 32).
You might also be interested in:
Implementation
bool get isWhitespace => current == ' ' && !isEscaped(index);