addEventListener method Null safety
override
Implementation
void addEventListener(String type, dynamic listener(Event event)?,
[bool? useCapture]);
void addEventListener(String type, dynamic listener(Event event)?,
[bool? useCapture]);