IsolateErrorManagerBinding class final

One-time bridge from a child isolate to an application ErrorManager.

Constructors

IsolateErrorManagerBinding({required Isolate isolate, required ErrorManager manager})
Creates a bridge for an isolate owned by the application.

Properties

hashCode int
The hash code for this object.
no setterinherited
isAttached bool
Whether this bridge currently owns an isolate error listener.
no setter
isolate Isolate
Isolate whose uncaught errors are observed.
final
manager ErrorManager
Central manager that receives forwarded occurrences.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

attach() → void
Installs the isolate error listener once.
detach() → void
Removes the listener and closes its receive port.
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