decode method

  1. @override
Future decode(
  1. Uint8List data
)
override

Decodes bytes into a Dart value.

Implementation

@override
Future<dynamic> decode(Uint8List data) async {
  final decoded = cbor.cborDecode(data);
  return _fromCbor(decoded);
}