EnumArgument<T> class

Inheritance

Constructors

EnumArgument({String? short, dynamic long, String? help, bool? isRequired, String? environmentVariable, required List<T> values})
const

Properties

additionalHelpLines List<String>
no setteroverride
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
values List<T>
Gets the supplied Enum values
final

Methods

handleValue(String? key, dynamic value) → dynamic
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