device property Null safety
The device identifier used for events generated by this object.
Set when the object is constructed. Defaults to 1 if the kind is PointerDeviceKind.mouse, and 0 otherwise.
Implementation
int get device => _device;
The device identifier used for events generated by this object.
Set when the object is constructed. Defaults to 1 if the kind is PointerDeviceKind.mouse, and 0 otherwise.
int get device => _device;