mouseIsConnected property Null safety

bool mouseIsConnected

Whether or not at least one mouse is connected and has produced events.

Implementation

bool get mouseIsConnected => _mouseStates.isNotEmpty;