Testability class

Provides testing hooks also accessible via JavaScript APIs in the browser.

TODO(b/168535057): Add dispose function (to unsubscribe, remove elements).

Annotations
  • @sealed

Constructors

Testability(NgZone _ngZone)

Properties

hashCode int
The hash code for this object.
no setterinherited
isStable bool
RWhether the framework is no longer anticipating change detection.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
whenStable(void callback(bool didAsyncWork)) → void
Registers callback to be invoked when change detection is completed.

Operators

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