removeOnExitListener method Null safety
- SendPort responsePort
Stops listening for exit messages from the isolate.
Requests for the isolate to not send exit messages on
If the isolate isn't expecting to send exit messages on
because the port hasn't been added using addOnExitListener,
or because it has already been removed, the request is ignored.
If the same port has been passed via addOnExitListener more than once,
only one call to
removeOnExitListener is needed to stop it from receiving
Closing the receive port that is associated with the
not stop the isolate from sending uncaught errors, they are just going to
An exit message may still be sent if the isolate terminates before this request is received and processed.
external void removeOnExitListener(SendPort responsePort);