ICommandRegisterable<T extends IContext> class
Null safety
Represents an entity that can be added as a child to a command group.
You might also be interested in:
- ICommandGroup, the interface for groups that ICommandRegisterables can be added to.
- Implemented types
- Implementers
Constructors
Properties
-
checks
→ Iterable<
AbstractCheck> -
The checks that should be applied to this entity.
read-onlyinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
localizedNames
→ Map<
Locale, String> ? -
The localized names of this child.
Since you cannot add descriptions to UserCommand and MessageCommand, can't set localized descriptions too.
read-only
- name → String
-
The name of this child.
read-only
-
onPostCall
→ Stream<
T> -
A stream that emits contexts after the command callback is executed.
read-onlyinherited
-
onPreCall
→ Stream<
T> -
A stream that emits contexts before the command callback is executed.
read-onlyinherited
- options → CommandOptions
-
The options to use for this entity.
read-onlyinherited
-
parent
↔ ICommandGroup<
IContext> ? -
The parent of this child.
read / write
- resolvedOptions → CommandOptions
-
Get the resolvec options for this child.
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
check(
AbstractCheck check) → void -
Add a check to this entity.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited