dispose method
Implementation
@override
void dispose() {
try {
port.close(); // stop dispatch loop
close(); // close engine
} on JSError catch (e) {
print(e); // catch reference leak exception
}
}
@override
void dispose() {
try {
port.close(); // stop dispatch loop
close(); // close engine
} on JSError catch (e) {
print(e); // catch reference leak exception
}
}