Subscription class

Entity that captures data related to an individual subscription

Inheritance

Constructors

Subscription()

Properties

changes Stream<List<ChangeRecord>?>
Emits a list of changes when the state of the object changes.
no setterinherited
createdTime DateTime?
The time the subscription was created.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasObservers bool
True if this object has any observers.
no setterinherited
messageIdentifier int?
The message identifier assigned to the subscription
getter/setter pair
qos MqttQos?
The QOS level of the topics subscription
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
topic SubscriptionTopic
The Topic that is subscribed to.
getter/setter pair

Methods

deliverChanges() bool
If hasObservers, synchronously emits changes that have been queued.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyChange([ChangeRecord? change]) → void
Schedules change to be delivered.
inherited
observed() → void
May override to be notified when changes is first observed.
inherited
toString() String
A string representation of this object.
inherited
unobserved() → void
May override to be notified when changes is no longer observed.
inherited

Operators

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