Command class Null safety

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

Implementers

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

hashCode int
The hash code for this object.
read-onlyinherited
kind String
Identifies the type of the command object and of the handler.
read-only
requiresRootWidgetAttached bool
Whether this command requires the widget tree to be initialized before the command may be run.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
timeout Duration?
The maximum amount of time to wait for the command to complete.
final

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
inherited