decodeMethod method
Implementation
IInfo decodeMethod(
String name, ByteData? data, MethodCodec codec, bool send) {
final call = codec.decodeMethodCall(data);
return ChannelInfo(name, call.method, call.arguments,
send ? ChannelInfo.typeSystemSend : ChannelInfo.typeSystemReceive)
..methodCodec = codec;
}