registerSubscription method
Implementation
void registerSubscription(StreamSubscription? subscription) {
if (subscription != null) {
registerDisposer(subscription.cancel);
}
}
void registerSubscription(StreamSubscription? subscription) {
if (subscription != null) {
registerDisposer(subscription.cancel);
}
}