dispose method
void
dispose()
Implementation
void dispose() {
_sendPort.send('stop');
_receivePort.close();
_isolate?.kill(priority: Isolate.immediate);
_isolate = null;
}
void dispose() {
_sendPort.send('stop');
_receivePort.close();
_isolate?.kill(priority: Isolate.immediate);
_isolate = null;
}