MouseButton constructor Null safety

const MouseButton(
  1. int value
)

value for a mouse button is defined in https://w3c.github.io/uievents/#widl-MouseEvent-button

Implementation

const MouseButton(this.value);