dispose method
Used to release resources when this instance will never be used again.
Implementation
void dispose() {
assert(!_isDisposed);
hide();
_isDisposed = true;
}
Used to release resources when this instance will never be used again.
void dispose() {
assert(!_isDisposed);
hide();
_isDisposed = true;
}