onAddedToStage property Null safety

EventStream<Event> onAddedToStage

Dispatched when a display object is added to the on stage display list, either directly or through the addition of a sub tree in which the display object is contained.

The following methods trigger this event:

Implementation

EventStream<Event> get onAddedToStage =>
    DisplayObject.addedToStageEvent.forTarget(this);