Subscriptions class
The first message recieved when subscribing to a channel with the WebsocketClient.
Once a subscribe message is received the server will respond with a subscriptions message that lists all channels you are subscribed to. Subsequent subscribe messages will add to the list of subscriptions.In case you already subscribed to a channel without being authenticated you will remain in the unauthenticated channel.
- Inheritance
-
- Object
- WebsocketResponse
- Subscriptions
Constructors
-
Subscriptions({List<
SubscribedChannel> ? channels}) -
Subscriptions.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
channels
→ List<
SubscribedChannel> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited