stop method

void stop()

Stop and dispose the current isolate

Implementation

void stop() {
  _isolate?.kill();

  _port.close();
  _isolate = null;
  _status = IsolateFlutterStatus.Stopped;
}