WebSocketService class abstract

Implementers

Constructors

WebSocketService()

Properties

connections HashMap<String, WebSocketConnection>
WebSocket connections by client identifier
getter/setter pair
context BuildContext
The context in which the service attached
latefinalinherited
hashCode int
The hash code for this object.
no setterinherited
initialized bool
Service is initialized
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

component(BuildContext context) Component
ensureInitialize() Future<bool>
Wait service is initialized.
inherited
init([bool inInterface = true]) Future<bool>
Init Service
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

Static Methods

of(BuildContext context) WebSocketService