subscription property

StreamSubscription? subscription
getter/setter pair

It is not null if the state is waiting for a Future or is subscribed to a Stream

Implementation

StreamSubscription? subscription;