CommandExtension class abstract
Used to expand the new Command.
See also:
- CommandWithTarget, a base class for Commands with Finders.
Constructors
Properties
- commandKind → String
-
Identifies the type of command to be used by the driver extension.
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
-
call(
Command command, WidgetController prober, CreateFinderFactory finderFactory, CommandHandlerFactory handlerFactory) → Future< Result> -
Calls action for given
command
. Returns action Result. Invokeprober
functions to perform widget actions. UsefinderFactory
to create Finders from SerializableFinder. CallhandlerFactory
to invoke other Commands or CommandWithTargets. -
deserialize(
Map< String, String> params, DeserializeFinderFactory finderFactory, DeserializeCommandFactory commandFactory) → Command - Deserializes the command from JSON generated by Command.serialize.
-
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