onMouseRightClick property Null safety

EventStream<MouseEvent> onMouseRightClick

Dispatched when a user presses and releases the right button of the user's pointing device over the same InteractiveObject.

For a rightClick event to occur, it must always follow this series of events in the order of occurrence: rightMouseDown event, then rightMouseUp. The target object must be identical for both of these events; otherwise the rightClick event does not occur. Any number of other mouse events can occur at any time between the rightMouseDown or rightMouseUp events; the rightClick event still occurs.

Implementation

EventStream<MouseEvent> get onMouseRightClick =>
    InteractiveObject.mouseRightClickEvent.forTarget(this);