UiEvent constructor

UiEvent({
  1. required UIEventTpeEnum type,
  2. dynamic data,
})

Implementation

UiEvent({required this.type, this.data});