WaitForCondition class

A Flutter Driver command that waits until a given condition is satisfied.

Inheritance

Constructors

WaitForCondition(SerializableWaitCondition condition, {Duration? timeout})
Creates a command that waits for the given condition is met.
const
WaitForCondition.deserialize(Map<String, String> json)
Deserializes this command from the value generated by serialize.

Properties

condition SerializableWaitCondition
The condition that this command shall wait for.
final
hashCode int
The hash code for this object.
no setterinherited
kind String
Identifies the type of the command object and of the handler.
no setteroverride
requiresRootWidgetAttached bool
Whether this command requires the widget tree to be initialized before the command may be run.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout Duration?
The maximum amount of time to wait for the command to complete.
finalinherited

Methods

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

Operators

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