void addEventListener(String type, dynamic listener(Event event), [bool useCapture])

Source

void addEventListener(String type, dynamic listener(Event event), [bool useCapture]);