CommandOption class
- Inheritance
-
- Object
- CommandAnyValue<
String> - CommandOption
Constructors
Properties
- description → String?
-
Defines the help text for the value.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Defines the name of the value.
finalinherited
- optional → bool
-
Defines whether the value is optional.
finalinherited
-
possible
→ Iterable<
String> ? -
Defines the option's possible values.
final
-
possibleDescriptions
→ Map<
String, String> ? -
Defines the help text for the possible values.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- short → String?
-
Defines the short name of the option.
final
- value ↔ String?
-
Returns the value of the command value.
getter/setter pairinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setup(
CommandInput input) → void -
Setups the command value.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited