RealtimeSubscription class
Methods
-
canPush()
→ bool
-
-
isClosed()
→ bool
-
-
isErrored()
→ bool
-
-
isJoined()
→ bool
-
-
isJoining()
→ bool
-
-
isLeaving()
→ bool
-
-
isMember(String? topic)
→ bool
-
-
joinRef()
→ String?
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
off(String event)
→ void
-
-
on(String event, void callback(dynamic payload, {String? ref}))
→ void
-
-
onClose(Function callback)
→ void
-
-
onError(dynamic callback(String?))
→ void
-
-
onMessage(String event, dynamic payload, {String? ref})
→ dynamic
-
Overridable message hook
-
push(ChannelEvents event, Map<String, String?> payload, {Duration? timeout})
→ Push
-
-
rejoin([Duration? timeout])
→ void
-
-
rejoinUntilConnected()
→ void
-
-
replyEventName(String? ref)
→ String
-
-
sendJoin(Duration timeout)
→ void
-
-
subscribe({Duration? timeout})
→ Push
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
trigger(String event, {dynamic payload, String? ref})
→ void
-
-
unsubscribe({Duration? timeout})
→ Push
-
Leaves the channel
-
updateJoinPayload(Map<String, dynamic> payload)
→ void
-