findFunctionsByName method

Iterable<ContractFunction> findFunctionsByName(
  1. String name
)

Finds all external or public functions defined by the contract that have the given name. As solidity supports function overloading, this will return a list as only a combination of name and types will uniquely find a function.

Implementation

Iterable<ContractFunction> findFunctionsByName(String name) =>
    functions.where((f) => f.name == name);