Returns Rect - The bounds of the window as Object.
Rect
Future<Rect> getBounds() async { return _target?.bounds.toRect() ?? Rect.zero; }