Arg<T> class

A holder for the eventual value of an argument.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T
The value given on the command line. Attempting to access this before arguments are parsed will throw an exception.
no setterinherited
wasGiven bool
Whether or not this parameter was given on the command line. If false, then value will just hold the default.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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