parseMessages abstract method

List<HubMessageBase> parseMessages(
  1. Object input,
  2. Logger? logger
)

Creates an array of {@link @microsoft/signalr.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<HubMessageBase> parseMessages(Object input, Logger? logger);