addRxAspects method
Add aspects to the Rx aspects.
param aspects:
Iterable: add aspects to the rx aspects
null: broadcast to the model
RxImpl: add (aspects as RxImpl).rxAspects to the rx aspects
: add aspects to the rx aspects
Implementation
void addRxAspects([Object? aspects]) {
if (aspects is Iterable<Object>) {
rxAspects.addAll(aspects);
} else if (aspects == null) {
_isNullBroadcast = true;
} else if (aspects is RxImpl) {
rxAspects.addAll(aspects.rxAspects);
} else {
rxAspects.add(aspects);
}
}