SerializableWaitCondition class Null safety

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-onlyinherited
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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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