dispose method
void
dispose()
Implementation
void dispose() {
receivePort?.close();
mIsolate?.kill();
mIsolate = null;
sendPort = null;
receivePort = null;
}
void dispose() {
receivePort?.close();
mIsolate?.kill();
mIsolate = null;
sendPort = null;
receivePort = null;
}