removeSentryErrorListener method

void removeSentryErrorListener(
  1. RawReceivePort receivePort
)

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

Implementation

void removeSentryErrorListener(RawReceivePort receivePort) {
  removeErrorListener(receivePort.sendPort);
}