Argument class Null safety

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>
read-only
environmentVariable String?
Environment Variable, if any, that can be used for this property.
final
hashCode int
The hash code for this object.
read-onlyinherited
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
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
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 non-existent 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