addValues method

  1. @override
LocalContractFunctionWithValues addValues({
  1. required List values,
})
override

Implementation

@override
LocalContractFunctionWithValues addValues({required List<dynamic> values}) {
  return LocalContractFunctionWithValues(
    name: name,
    parameters: [
      for (var i = 0; i < parameters.length; i++)
        FunctionParamWithValue.fromParam(parameters[i], values[i]),
    ],
    stateMutability: stateMutability,
    outputTypes: outputTypes,
  );
}