parseFunctions static method
Parses functions from an ABI JSON string.
Implementation
static List<AbiFunction> parseFunctions(String abiJson) {
final abi = json.decode(abiJson) as List;
return abi
.cast<Map<String, dynamic>>()
.where((item) => item['type'] == 'function')
.map(AbiFunction.fromJson)
.toList();
}