fromBytes static method

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

Returns an instance of HrmProfileMessage from a bytes list.

Implementation

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