Subscription class
Entity that captures data related to an individual subscription
Constructors
Properties
-
changes
→ Stream<
List< ChangeRecord> > -
Emits a list of changes when the state of the object changes. [...]
read-only, inherited
- createdTime ↔ DateTime
-
The time the subscription was created.
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- hasObservers → bool
-
True if this object has any observers.
@Deprecated('Use ChangeNotifier instead to have this method available'), read-only, inherited
- messageIdentifier ↔ int
-
The message identifier assigned to the subscription
read / write
- qos ↔ MqttQos
-
The QOS level of the topics subscription
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- topic ↔ SubscriptionTopic
-
The Topic that is subscribed to.
read / write
Methods
-
deliverChanges(
) → bool -
If hasObservers, synchronously emits changes that have been queued. [...]
@Deprecated('Use ChangeNotifier instead to have this method available'), inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
notifyChange(
[ChangeRecord change]) → void -
Schedules
change
to be delivered. [...]@Deprecated('Use ChangeNotifier instead to have this method available'), inherited -
observed(
) → void -
May override to be notified when changes is first observed.
@Deprecated('Use ChangeNotifier instead to have this method available'), @mustCallSuper, @protected, inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
-
unobserved(
) → void -
May override to be notified when changes is no longer observed.
@Deprecated('Use ChangeNotifier instead to have this method available'), @mustCallSuper, @protected, inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited