Phase class Null safety

A object responsible for controlling a period of time during the test which can be prevented from ending.

Raising Objections on a Phase keeps this portion of the test from completing.

Constructors

Phase()

Properties

hashCode int
The hash code for this object.
read-only, inherited
objections Iterable<Objection>
An unmodifiable Iterable of all active Objections which are preventing this phase from completing.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

allObjectionsDropped() Future<void>
A Future which will complete once there are no more raised objections on this Phase.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
raiseObjection([String name = '']) Objection
Creates and returns a new objection named name applied to this Phase.
toString() String
A string representation of this object.
inherited

Operators

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