PusherChannelsOptionsMetadata class

A data class that keeps metadata that is sent with PusherChannelsOptions.uri while connecting to a server.

See: Pusher Channel Protocol docs

Annotations
  • @immutable

Constructors

PusherChannelsOptionsMetadata({required String client, required int protocol, required String version})
const
PusherChannelsOptionsMetadata.byDefault()
const

Properties

client String
A client name.
final
hashCode int
The hash code for this object.
no setterinherited
protocol int
The Pusher Protocol version.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String
The version of the client library.
final

Methods

getQueryParameters() Map<String, String>
Provides the metadata as Map.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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