RequestData class

A Flutter Driver command that sends a string to the application and expects a string response.

Inheritance

Constructors

RequestData(String message, {Duration timeout})
Create a command that sends a message.
const
RequestData.deserialize(Map<String, String> params)
Deserializes this command from the value generated by serialize.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
kind String
Identifies the type of the command object and of the handler.
read-only, override
message String
The message being sent from the test to the application.
final
requiresRootWidgetAttached bool
Whether this command requires the widget tree to be initialized before the command may be run. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
timeout Duration
The maximum amount of time to wait for the command to complete. [...]
final, inherited

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.
override
toString() String
Returns a string representation of this object.
inherited

Operators

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