CommandManager class
Central class that controls the creation of CommandInterceptors for commands @internal
Constructors
-
CommandManager({List<
CommandInterceptor> interceptors = const []})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
interceptors
↔ List<
CommandInterceptor> -
getter/setter pair
- methodInterceptor ↔ MethodCommandInterceptor
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createCommand(
String name, Function function, {String? i18n, String? label, IconData? icon, LockType lock = LockType.command}) → CommandDescriptor -
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