word function
Returns a parser that accepts any word character (lowercase, uppercase,
underscore, or digit). The accepted input is equivalent to the character-set
a-zA-Z_0-9
.
Implementation
@useResult
Parser<String> word([String message = 'letter or digit expected']) =>
SingleCharacterParser(const WordCharPredicate(), message);