ActionCable class

Constructors

ActionCable.Connect(String url, {Map<String, String> headers = const {}, _OnConnectedFunction? onConnected, _OnConnectionLostFunction? onConnectionLost, _OnCannotConnectFunction? onCannotConnect})

Properties

hashCode int
The hash code for this object.
no setterinherited
onCannotConnect ↔ _OnCannotConnectFunction?
getter/setter pair
onConnected ↔ _OnConnectedFunction?
getter/setter pair
onConnectionLost ↔ _OnConnectionLostFunction?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

disconnect() → void
healthCheck(dynamic _) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
performAction(String channelName, {String? action, Map? channelParams, Map? actionParams}) → void
subscribe(String channelName, {Map? channelParams, _OnChannelSubscribedFunction? onSubscribed, _OnChannelDisconnectedFunction? onDisconnected, _OnChannelMessageFunction? onMessage}) → void
toString() String
A string representation of this object.
inherited
unsubscribe(String channelName, {Map? channelParams}) → void

Operators

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