Objection class Null safety

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.
read-only
hashCode int
The hash code for this object.
read-only, inherited
isRaised bool
Returns true iff this Objection is still raised and trying to prevent the phase from ending.
read-only
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.
read-only, inherited

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 non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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