unobserve method

void unobserve(
  1. List<Observable> observables
)

Stop listening to specific observables

Implementation

void unobserve(List<Observable> observables) {
  observables.forEach((observable) {
    final subscription = _observablesSubcriptions[observable];

    subscription?.cancel();

    _observablesSubcriptions.remove(observable);
  });
}