encodeOutput method

  1. @override
Object encodeOutput(
  1. Uint8List data
)
override

encode the output of the channel from bytes

Implementation

@override
Object encodeOutput(Uint8List data) {
  String json = utf8.decode(data);
  return jsonDecode(json);
}