addSubscriptions method
添加多个订阅到 dispose bag
Implementation
void addSubscriptions(List<StreamSubscription> subscriptions) {
_checkDisposed();
for (var subscription in subscriptions) {
_subscriptionBag.add(subscription);
}
}
添加多个订阅到 dispose bag
void addSubscriptions(List<StreamSubscription> subscriptions) {
_checkDisposed();
for (var subscription in subscriptions) {
_subscriptionBag.add(subscription);
}
}