StreamSubscriptionLifecycleAware class

Constructors

StreamSubscriptionLifecycleAware({StreamSubscription? streamSubscription, Set<LifecycleState>? lifecycleStates, RecreateOnResume? recreateOnResume})

Properties

hashCode int
The hash code for this object.
no setterinherited
lifecycleStates Set<LifecycleState>?
final
recreateOnResume RecreateOnResume?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
streamSubscription StreamSubscription?
getter/setter pair

Methods

allowed(LifecycleState lifecycleState) bool
cancel(LifecycleState lifecycleState) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onLifecycleChanged(LifecycleState lifecycleState) → void
pause(LifecycleState lifecycleState, [Future? resumeSignal]) → void
resume(LifecycleState lifecycleState) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited