IBasicCommandHandler class abstract

Implemented types
Implementers

Constructors

IBasicCommandHandler()

Properties

afterHandler AfterHandlerFunction?
Callback executed after executing command
no setterinherited
aliases List<String>
Aliases of CommandEntityAbstract
no setterinherited
beforeHandler PassHandlerFunction?
Executed before executing command. Used to check if command can be executed in current context.
no setterinherited
commandHandler CommandHandlerFunction
Main command callback
no setterinherited
commandNames List<String>
A list of valid command names
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
name String
Name of CommandEntityAbstract
no setterinherited
parent → CommandEntityAbstract?
Parent of entity
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getFullCommandMatch() String
RegEx matching the fully qualified command name with its parents and all aliases
inherited
isEntityName(String str) bool
Returns true if provided String str is entity name or alias
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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