AbiMethod constructor

AbiMethod({
  1. required String name,
  2. required String description,
  3. required List<Argument> arguments,
  4. Returns returns = const Returns(),
})

Implementation

AbiMethod({
  required this.name,
  required this.description,
  required this.arguments,
  this.returns = const Returns(),
}) {
  for (var arg in arguments) {
    if (TxArgTypes.contains(arg.type)) {
      txnCallCount++;
    }
  }
}