Command class

Inheritance

Constructors

Command({String? short, dynamic long, String? help})
const

Properties

additionalHelpLines List<String>
no setterinherited
environmentVariable String?
Environment Variable, if any, that can be used for this property.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
help String?
Description of the property to be used in the help output. If not specified, SmartArg will attempt to use reflection to obtain the Parser.description field instead.
finalinherited
isRequired bool?
Is this option required?
finalinherited
long → dynamic
Long key, if any, that can be used for this property.
finalinherited
needsValue bool
no setterinherited
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.
finalinherited

Methods

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

Operators

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