approvalEvents method
Returns a live stream of all Approval events emitted by this contract.
Implementation
Stream<Approval> approvalEvents(
{_i1.BlockNum? fromBlock, _i1.BlockNum? toBlock}) {
final event = self.event('Approval');
final filter = _i1.FilterOptions.events(
contract: self, event: event, fromBlock: fromBlock, toBlock: toBlock);
return client.events(filter).map((_i1.FilterEvent result) {
final decoded = event.decodeResults(result.topics!, result.data!);
return Approval(decoded);
});
}