SentryIsolateExtension extension

Record isolate errors with the Sentry SDK.

on

Methods

addSentryErrorListener({Hub? hub}) RawReceivePort

Available on Isolate, provided by the SentryIsolateExtension extension

Calls addErrorListener with an error listener from the Sentry SDK. Store the returned RawReceivePort if you want to remove the Sentry listener again.
removeSentryErrorListener(RawReceivePort receivePort) → void

Available on Isolate, provided by the SentryIsolateExtension extension

Pass the receivePort returned from addSentryErrorListener to remove the sentry error listener.