fromBytes static method

TotalsMessage fromBytes(
  1. DefinitionMessage definitionMessage,
  2. Uint8List bytes
)
override

Returns an instance of TotalsMessage from a bytes list.

Implementation

static TotalsMessage fromBytes(
    DefinitionMessage definitionMessage, Uint8List bytes) {
  final message = TotalsMessage(definitionMessage: definitionMessage);
  message.readFromBytes(bytes);
  return message;
}