PusherPrivateEncryptedChannel class

This class represents a Pusher private channel.

Inheritance
Implemented types

Constructors

PusherPrivateEncryptedChannel.new(PusherClient pusher, String name, ConnectorOptions options)

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name of the channel.
finalinherited
options ConnectorOptions
The Echo options.
finalinherited
pusher → PusherClient
The Pusher client instance.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscription ↔ PrivateEncryptedChannel
The subscription of the channel.
getter/setter pairinherited

Methods

error(Function callback) → void
Register a callback to be called anytime a subscription error occurs.
inherited
listen(String event, Function callback) → void
Listen for an event on the channel instance.
inherited
listenForWhisper(String event, Function callback) → void
Listen for a whisper event on the channel instance.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notification(Function callback) → void
Listen for an event on the channel instance.
inherited
on(String event, Function callback) → void
Bind a channel to an event.
inherited
onSubscribedSuccess(Function callback) → void
listen to on subscribe success event
override
stopListening(String event, [Function? callback]) → void
Stop listening for an event on the channel instance.
inherited
stopListeningForWhisper(String event, [Function? callback]) → void
Stop listening for a whisper event on the channel instance.
inherited
subscribe() → void
Subscribe to a Pusher channel.
inherited
subscribed(Function callback) → void
Register a callback to be called anytime a subscription succeeds.
inherited
toString() String
A string representation of this object.
inherited
unsubscribe() → void
Unsubscribe from a channel.
inherited
whisper(String eventName, dynamic data) PrivateEncryptedChannel
Register a callback to be called anytime the member list changes.
override

Operators

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