WaitUntilNoTransientCallbacks class

A Flutter Driver command that waits until there are no more transient callbacks in the queue.

This command has been deprecated in favor of WaitForCondition. Construct a command that waits until no transient callbacks as follows:

WaitForCondition noTransientCallbacks = WaitForCondition(NoTransientCallbacks());
Inheritance
Annotations
  • @Deprecated('This command has been deprecated in favor of WaitForCondition. ' 'Use WaitForCondition command with NoTransientCallbacks. ' 'This feature was deprecated after v1.9.3.')

Constructors

WaitUntilNoTransientCallbacks({Duration timeout})
Creates a command that waits for there to be no transient callbacks.
const
WaitUntilNoTransientCallbacks.deserialize(Map<String, String> json)
Deserializes this command from the value generated by serialize.

Properties

kind String
Identifies the type of the command object and of the handler.
read-only, override
hashCode int
The hash code for this object. [...]
read-only, inherited
requiresRootWidgetAttached bool
Whether this command requires the widget tree to be initialized before the command may be run. [...]
read-only, inherited
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.
@mustCallSuper, inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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