LaravelFlutterPusher class

Implementers

Constructors

LaravelFlutterPusher(String appKey, PusherOptions options, {bool lazyConnect = false, bool enableLogging = false, void onError(ConnectionError)?, void onConnectionStateChange(ConnectionStateChange)?})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect({void onConnectionStateChange(ConnectionStateChange)?, void onError(ConnectionError)?}) Future
Connect the client to pusher
disconnect() Future
Disconnect the client from pusher
getSocketId() String?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
subscribe(String channelName) Channel
Subscribe to a channel Use the returned Channel to bind events
toString() String
A string representation of this object.
inherited
unsubscribe(String channelName) Future
Unsubscribe from a channel

Operators

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