dispose method
Disposes this disposable and any resources it has open.
Implementation
@override
void dispose() {
_wasDisposed = true;
_disposeFn();
}
Disposes this disposable and any resources it has open.
@override
void dispose() {
_wasDisposed = true;
_disposeFn();
}