DelegatingStreamSubscription<T> constructor Null safety

DelegatingStreamSubscription<T>(
  1. StreamSubscription<T> sourceSubscription
)

Create delegating subscription forwarding calls to sourceSubscription.

Implementation

DelegatingStreamSubscription(StreamSubscription<T> sourceSubscription)
    : _source = sourceSubscription;