stop method

void stop()

Stops the processing isolate.

Implementation

void stop() {
  _sendPort?.send('close');
  _sendPort = null;
  _isolate = null;
}