WebSocketModule class

Constructors

WebSocketModule(ModuleManager? moduleManager)

Properties

hashCode int
The hash code for this object.
no setterinherited
moduleManager → ModuleManager?
finalinherited
name String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addEvent(String? id, String? type) → void
close(String? id, [int? closeCode, String? closeReason]) → void
dispose() → void
init(String url, WebSocketEventCallback callback, {String? protocols}) String
invoke(String method, dynamic params, InvokeModuleCallback callback) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(String? id, String? message) → void
toString() String
A string representation of this object.
inherited

Operators

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