NotParserExtension<T> extension Null safety

on

Methods

neg([String message = 'input not expected']) Parser<String>
Returns a parser that consumes any input token (character), but the receiver. [...]
not([String message = 'success not expected']) Parser<Failure<T>>
Returns a parser (logical not-predicate) that succeeds with the Failure whenever the receiver fails, but never consumes input. [...]