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 json = utf8.decode(data);
  return _denormalize(jsonDecode(json));
}