uppercase function Null safety

Parser<String> uppercase(
  1. [String message = 'uppercase letter expected']
)

Returns a parser that accepts any uppercase character. The accepted input is equivalent to the character-set A-Z.

Implementation

Parser<String> uppercase([String message = 'uppercase letter expected']) =>
    CharacterParser(const UppercaseCharPredicate(), message);