AbiFunctionFragment constructor

AbiFunctionFragment({
  1. required String name,
  2. StateMutability? stateMutability,
  3. List<AbiParameter> inputs = const [],
  4. List<AbiParameter> outputs = const [],
  5. bool? constant,
  6. bool? payable,
})

Creates an AbiFunctionFragment instance.

Implementation

AbiFunctionFragment({
  required this.name,
  this.stateMutability,
  this.inputs = const [],
  this.outputs = const [],
  this.constant,
  this.payable,
});