PublishResponse class

A response to a publish request. Informs the caller of how much clients received the event.

Constructors

PublishResponse(int listeners, String? clientId)
const

Properties

clientId String?
The client ID returned the server. Significant in cases where an ad-hoc client was registered.
final
hashCode int
The hash code for this object.
no setterinherited
listeners int
The number of unique listeners to whom this event was propogated.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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