StringParser class
ValueParser that returns the input string unchanged.
- Inheritance
-
- Object
- ValueParser<
String> - StringParser
Constructors
- StringParser.new()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
format(
String value) → String -
Returns a usage documentation friendly string representation of the value.
The default implementation simply invokes toString.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parse(
String value) → String -
Converts a source string value to the specific option value type.
Must throw a FormatException with an appropriate message
if the value cannot be parsed.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited