Event constructor Null safety

Event(
  1. String eventName,
  2. dynamic callback(
    1. Event
    ),
  3. String componentName,
  4. int componentIndex
)

Implementation

Event(this.eventName, this.callback, this.componentName, this.componentIndex);