parseMessages abstract method

List<HubMessage?> parseMessages(
  1. Object input,
  2. Logging? logging
)

Creates an array of HubMessage objects from the specified serialized representation.

If transferFormat is 'Text', the input parameter must be a string, otherwise it must be an ArrayBuffer.

input A string (json), or Uint8List (binary) containing the serialized representation. Logger logger A logger that will be used to log messages that occur during parsing.

Implementation

List<HubMessage?> parseMessages(Object input, Logging? logging);