dispose method
void
dispose()
dispose all the resources and close the worker
Implementation
void dispose() {
_controller.close();
_toIsolate.send(_WorkerExit());
_fromIsolate.close();
}
dispose all the resources and close the worker
void dispose() {
_controller.close();
_toIsolate.send(_WorkerExit());
_fromIsolate.close();
}