PusherEvent class

Constructors

PusherEvent({String? channelName, String? eventName, String? data, String? userId})
PusherEvent.fromJson(Map<String, dynamic> json)
factory

Properties

channelName String?
The name of the channel that the event was triggered on. Not present in events without an associated channel, For example "pusher:error" events relating to the connection.
final
data String?
The data that was passed when the event was triggered.
final
eventName String?
The name of the event.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userId String?
The ID of the user who triggered the event. Only present in client event on presence channels.
final

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