event method
Finds the event defined by the contract that has the matching name.
If no, or more than one event matches that name, this method will throw.
Implementation
ContractEvent event(String name) => events.singleWhere((e) => e.name == name);
Finds the event defined by the contract that has the matching name.
If no, or more than one event matches that name, this method will throw.
ContractEvent event(String name) => events.singleWhere((e) => e.name == name);