events method
Chain events buffered since the last call, decoded. Returns nothing while eventStream is live, because events then go to the stream.
Implementation
List<ChainEvent> events() => _chainEventsFromJsonArray(drainEvents());
Chain events buffered since the last call, decoded. Returns nothing while eventStream is live, because events then go to the stream.
List<ChainEvent> events() => _chainEventsFromJsonArray(drainEvents());