SerializableWaitCondition class

Base class for Flutter Driver wait conditions, objects that describe conditions the driver can wait for.

This class is sent from the driver script running on the host to the driver extension on device to perform waiting on a given condition. In the extension, it will be converted to a WaitCondition that actually defines the wait logic.

If you subclass this, you also need to implement a WaitCondition in the extension.

Implementers

Constructors

SerializableWaitCondition()
A const constructor to allow subclasses to be const.
const

Properties

conditionName String
Identifies the name of the wait condition.
read-only
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 the object to JSON.
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