dispose method

void dispose()

Dispose subjects and subscriptions

Implementation

void dispose() {
  callsSubject.close();
  _shakeDetector?.stopListening();
  _callsSubscription?.cancel();
}