W3cubDocs

/Dart 2

isPaused property

bool isPaused

Whether the StreamSubscription is currently paused.

If there have been more calls to pause than to resume on this stream subscription, the subscription is paused, and this getter returns true.

Returns false if the stream can currently emit events, or if the subscription has completed or been cancelled.

Implementation

bool get isPaused;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-async/StreamSubscription/isPaused.html