LiteralParser class Null safety

SegmentParser that matches a String literally with String.operator==.

Inheritance

Constructors

LiteralParser(String key)
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
key String
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
parse(ParseContext context, String source) ParseResult
Handles the actual parsing logic [...]
override
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited