paramAddParamName function
- FunctionParameter param,
- int nth_param
Convert a FunctionParameter
to a source code fragment of the equivalent web3dart type.
Implementation
Tuple2<FunctionParameter, String> paramAddParamName(
FunctionParameter param, int nth_param) {
return Tuple2(param, param.name.isEmpty ? 'param_${nth_param}' : param.name);
}