SerializableWaitCondition class abstract

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.
no setter
hashCode int
The hash code for this object.
no setterinherited
requiresRootWidgetAttached bool
Whether this command requires the widget tree to be initialized before the command may be run.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() Map<String, String>
Serializes the object to JSON.
toString() String
A string representation of this object.
inherited

Operators

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