CommandExtension class Null safety
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.
read-only
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
call(
Command command, WidgetController prober, CreateFinderFactory finderFactory, CommandHandlerFactory handlerFactory) → Future< Result> -
Calls action for given
command
. Returns actionResult
. 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 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