setEvents method

void setEvents(
  1. List<T> events
)

Implementation

void setEvents(List<T> events) => setState([...events]);