ZapClient class

Inheritance

Constructors

ZapClient(ChannelSession channelSession, {required EventBook eventBook, bool autoStart = true})

Properties

autoStart bool
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri Uri
no setterinherited

Methods

disconnect() Future<void>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onConnected(EventCallback callback) → void
onConnectionStateChanged(dynamic callback(ConnectionState state)) → void
onDisconnected(EventCallback callback) → void
onEvent(String eventName, EventCallback callback) → void
sendEvent(String eventName, dynamic payload, {Map<String, dynamic>? headers}) → void
inherited
start() Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

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