dispose method

  1. @override
void dispose()
override

Dispose the state

Implementation

@override
dispose() {
  subscription?.cancel();
}