resetMapSelection method
Sets the cursor screen position to the default location (the center of viewport).
This method needs to be awaited
Throws
- An exception if it fails.
Implementation
Future<void> resetMapSelection() async {
await setCursorScreenPosition(
Point<int>((viewport.width / 2).round(), (viewport.height / 2).round()),
);
}