CommandFlag class
- Inheritance
-
- Object
- CommandAnyValue<
bool> - CommandFlag
Constructors
- CommandFlag.new(String name, {String? description, String? short})
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
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- short → String?
-
Defines the short name of the flag.
final
- value ↔ bool
-
Returns the value of the command value.
covariantgetter/setter pairoverride
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