BooleanArgument class

Inheritance
Implementers

Constructors

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

Properties

additionalHelpLines List<String>
no setterinherited
emptyList List<bool>
no setter
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
isNegateable bool?
Can the flag be prefixed with 'no'?
final
isRequired bool?
Is this option required?
finalinherited
long → dynamic
Long key, if any, that can be used for this property.
finalinherited
needsValue bool
no setteroverride
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) bool
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
specialKeys(String? short, String? long) List<String>
override
toString() String
A string representation of this object.
inherited

Operators

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