addEvent method

void addEvent(
  1. EventData event
)

Implementation

void addEvent(EventData event) {
  if(events.length <= 80) {
    events.add(event);
  }
}