dispose method
Implementation
@override
void dispose() {
_listeners.clear();
final reversed = _onDispose.reversed.toList();
_onDispose.clear();
for (final onDispose in reversed) {
onDispose();
}
}
@override
void dispose() {
_listeners.clear();
final reversed = _onDispose.reversed.toList();
_onDispose.clear();
for (final onDispose in reversed) {
onDispose();
}
}