decodeInput method
decode the input of the channel to bytes
Implementation
@override
Uint8List decodeInput(MethodCall data) {
String js = data.toJson();
return Uint8List.fromList(utf8.encode(js));
}
decode the input of the channel to bytes
@override
Uint8List decodeInput(MethodCall data) {
String js = data.toJson();
return Uint8List.fromList(utf8.encode(js));
}