CommandArgument class

Inheritance

Constructors

CommandArgument.new(String name, {String? description, bool optional = false, String? defaultsTo})

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
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