ContractFunction constructor

const ContractFunction(
  1. String name,
  2. List<FunctionParameter> parameters, {
  3. List<FunctionParameter> outputs = const [],
  4. ContractFunctionType type = ContractFunctionType.function,
  5. StateMutability mutability = StateMutability.nonPayable,
})

Implementation

const ContractFunction(
  this.name,
  this.parameters, {
  this.outputs = const [],
  this.type = ContractFunctionType.function,
  this.mutability = StateMutability.nonPayable,
});