BroadcastSubscription<T> class

Subscription of global data/event stream. Holds subscription key and Type and callback onData event.

Inheritance
Available Extensions

Properties

hashCode int
The hash code for this object.
no setterinherited
isActive bool
no setterinherited
isCallbackAttached bool
no setterinherited
isValid bool
no setterinherited
key → dynamic
Key of sub.
final
nullOk bool
Checks if 'null' is valid for broadcast.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancel() → void
inherited
closePass(T value) bool
inherited
dispose() → void
Used to clear and dispose object. After this method call is object typically unusable and ready for GC. Can be called multiple times!
inherited
filter(Predicate<T>? filter) ControlSubscription<T>
inherited
filterPass(T value) bool
inherited
initSubscription(ObservableValue parent, [ValueCallback<T>? callback]) → void
inherited
invalidate() → void
inherited
isValidForBroadcast(dynamic key, dynamic value) bool
Checks if key and value is eligible for this subscription.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyCallback(T value) → void
inherited
once() ControlSubscription<T>
inherited
pause() → void
inherited
resume() → void
inherited
toString() String
A string representation of this object.
inherited
until(Predicate<T>? predicate) ControlSubscription<T>
inherited

Operators

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