whitespace function

  1. @useResult
Parser<String> whitespace([
  1. String message = 'whitespace expected'
])

Returns a parser that accepts any whitespace character.

Implementation

@useResult
Parser<String> whitespace([String message = 'whitespace expected']) =>
    SingleCharacterParser(const WhitespaceCharPredicate(), message);