dispose method

void dispose()

Disposes the subscriptions to avoid memory leaks.

Implementation

void dispose() {
  _onAuthStateChangeSubscription.cancel();
  _onTokenChangeSubscription.cancel();
}