dispose method
Disposes the resource.
Implementation
@override
void dispose() {
super.dispose();
final previous = _current;
_current = const DisposedDisposable();
previous.dispose();
}
Disposes the resource.
@override
void dispose() {
super.dispose();
final previous = _current;
_current = const DisposedDisposable();
previous.dispose();
}