async/stream_subscription library
Mixins
-
StreamSubscriptionMixin<
T> -
class MyStreamSubscription with StreamSubscriptionMixin<T> implements StreamSubscription<T> { // Must override @override StreamSubscription get streamSubscription; ... }
class MyStreamSubscription with StreamSubscriptionMixin<T> implements StreamSubscription<T> {
// Must override
@override
StreamSubscription get streamSubscription;
...
}