EventEmitter constructor Null safety

EventEmitter()