decode the input of the channel to bytes
@override Uint8List decodeInput(Object data) { String json = jsonEncode(data); return Uint8List.fromList(utf8.encode(json)); }