Objection class

Represents an objection to the test completing.

An Objection is raised by a Phase and will attempt to prevent the phase and test from ending until it is dropped with Objection.drop.

Properties

dropped Future<void>
A Future which completes when the Objection is dropped.
no setter
hashCode int
The hash code for this object.
no setterinherited
isRaised bool
Returns true iff this Objection is still raised and trying to prevent the phase from ending.
no setter
name String
The name of this Objection.
final
phase Phase
The phase thas is objecting completion of.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

drop() → void
Drops this Objection on phase, allowing it to progress if nothing else is holding it from completing.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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