Command class

An object sent from the Flutter Driver to a Flutter application to instruct the application to perform a task.

Constructors

Command({Duration timeout })
Abstract const constructor. This constructor enables subclasses to provide const constructors so that they can be used in const expressions.
const
Command.deserialize(Map<String, String> json)
Deserializes this command from the value generated by serialize.

Properties

kind String
Identifies the type of the command object and of the handler.
read-only
timeout Duration
The maximum amount of time to wait for the command to complete. [...]
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

serialize() Map<String, String>
Serializes this command to parameter name/value pairs.
@mustCallSuper
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited