Subscription class

The class manages the subscription to event bus

Constructors

Subscription(Stream _stream)
Create the subscription [...]

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
subscriptions List<StreamSubscription>
Subscriptions that registered to event bus
final

Methods

dispose() → void
Cancel all the registered subscriptions. After calling this method, all the events published won't be delivered to the cleared responders any more. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
respond<T>(Responder<T> responder) Subscription
Register a responder to event bus for the event type T. If T is omitted or given as dyanmic, it listens to all events that publised on EventBus. [...]
toString() String
Returns a string representation of this object.
inherited

Operators

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