Subscription class abstract
Constructors
Properties
- channel → String
-
no setter
-
error
→ Stream<
SubscriptionErrorEvent> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
join
→ Stream<
JoinEvent> -
no setter
-
leave
→ Stream<
LeaveEvent> -
no setter
-
publication
→ Stream<
PublicationEvent> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
subscribed
→ Stream<
SubscribedEvent> -
no setter
-
subscribing
→ Stream<
SubscribingEvent> -
no setter
-
unsubscribed
→ Stream<
UnsubscribedEvent> -
no setter
Methods
-
history(
{int limit = 0, StreamPosition? since, bool reverse = false}) → Future< HistoryResult> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
presence(
) → Future< PresenceResult> -
presenceStats(
) → Future< PresenceStatsResult> -
publish(
List< int> data) → Future<PublishResult> -
ready(
) → Future< void> - Ready resolves when subscription successfully subscribed. Throws exceptions if called not in subscribing or subscribed state.
-
subscribe(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
-
unsubscribe(
) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited