decodeMessagePack static method
Decodes the messagepack.
Implementation
static Map<String, dynamic> decodeMessagePack(Uint8List bytes) {
final decoded = deserialize(
bytes,
codec: const AlgorandCodec(),
);
if (decoded is Map<dynamic, dynamic>) {
return convertMap(decoded);
}
return <String, dynamic>{};
}