authorisationChangedEvents method
Stream<AuthorisationChanged>
authorisationChangedEvents({
- BlockNum? fromBlock,
- BlockNum? toBlock,
Returns a live stream of all AuthorisationChanged events emitted by this contract.
Implementation
Stream<AuthorisationChanged> authorisationChangedEvents(
{_i1.BlockNum? fromBlock, _i1.BlockNum? toBlock}) {
final event = self.event('AuthorisationChanged');
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 AuthorisationChanged(decoded);
});
}