SentryIsolateExtension extension

Record isolate errors with the Sentry SDK.

on

Methods

addSentryErrorListener({Hub? hub}) RawReceivePort
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
Pass the receivePort returned from addSentryErrorListener to remove the sentry error listener.