decode abstract method

Incoming decode(
  1. Object message
)

Decodes an incoming WebSocket message.

Converts the message received from the WebSocket (either String or Uint8List) to the application-specific incoming message type.

Returns the decoded message of type Incoming.

Implementation

Incoming decode(Object /*String|Uint8List*/ message);