decodeInput method

  1. @override
Uint8List decodeInput(
  1. String data
)
override

decode the input of the channel to bytes

Implementation

@override
Uint8List decodeInput(String data) {
  return Uint8List.fromList(utf8.encode(data));
}