value property

  1. @override
T value
override

The value of a StreamSubscriptionNotifier is read-only, it can only be modified by the StreamSubscription.onData callback. Use this getter to read the most recent value the StreamSubscription, that was used to initialize this StreamSubscriptionNotifier, emitted.

Can only be read if hasValue is true.

It is always safe to read value in a listener.

Implementation

@override
T get value;