removeRxAspects method

void removeRxAspects([
  1. Object? aspects
])

Remove aspects from the Rx aspects. param aspects: Iterable: remove aspects from the rx aspects null: don't broadcast to the model RxImpl: remove (aspects as RxImpl).rxAspects from the rx aspects : remove aspects from the rx aspects

Implementation

void removeRxAspects([Object? aspects]) {
  if (aspects is Iterable<Object>) {
    rxAspects.removeAll(aspects);
  } else if (aspects == null) {
    _isNullBroadcast = false;
  } else if (aspects is RxImpl) {
    rxAspects.removeAll(aspects.rxAspects);
  } else {
    rxAspects.remove(aspects);
  }
}