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