MethodStreamMessage constructor
MethodStreamMessage(
- Map data,
- SerializationManager _serializationManager
Creates a new MethodStreamMessage. The object must be an object processed by the SerializationManager.wrapWithClassName method.
Implementation
MethodStreamMessage(Map data, this._serializationManager)
: endpoint = data[WebSocketMessageDataKey.endpoint],
method = data[WebSocketMessageDataKey.method],
connectionId = UuidValueJsonExtension.fromJson(
data[WebSocketMessageDataKey.connectionId]),
parameter = data[WebSocketMessageDataKey.parameter],
object = _serializationManager
.deserializeByClassName(data[WebSocketMessageDataKey.object]);