encodeInput method

  1. @override
MethodCall encodeInput(
  1. Uint8List data
)
override

encode the input of the channel from bytes

Implementation

@override
MethodCall encodeInput(Uint8List data) {
  String js = utf8.decode(data);
  return MethodCall.fromJson(js);
}