CommandAnyValue<T> class
abstract
- Implementers
Constructors
- CommandAnyValue.new(String name, {String? description, bool optional = false, T? defaultsTo})
Properties
- description → String?
-
Defines the help text for the value.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Defines the name of the value.
final
- optional → bool
-
Defines whether the value is optional.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ T?
-
Returns the value of the command value.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setup(
CommandInput input) → void - Setups the command value.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited