Argument class abstract

Annotation class to provide additional hints on parsing a particular property.

Implementers

Constructors

Argument({String? short, dynamic long, String? help, bool? isRequired = false, String? environmentVariable})
const

Properties

additionalHelpLines List<String>
no setter
environmentVariable String?
Environment Variable, if any, that can be used for this property.
final
hashCode int
The hash code for this object.
no setterinherited
help String?
Description of the property to be used in the help output.
final
isRequired bool?
Is this option required?
final
long → dynamic
Long key, if any, that can be used for this property.
final
needsValue bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
short String?
Short version, if any, that can be used for this property.
final

Methods

handleValue(String? key, dynamic value) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
specialKeys(String? short, String? long) List<String>
toString() String
A string representation of this object.
inherited

Operators

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