WithCommands<T> class abstract

An interface that a Handler can implement to register subcommands. If this is implemented, then its Handler.run method will be called before any subcommand's Handler.run.

Implemented types

Constructors

WithCommands()

Properties

commands CommandHandlerSet<T>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register(ArgParser parser) → void
inherited
run(HandlerContext context) FutureOr<void>
inherited
toString() String
A string representation of this object.
inherited

Operators

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