isDocked method
Returns the edge reserved by this window, or null when undocked.
@platforms windows
Implementation
Future<DockSide?> isDocked() async {
return switch (_target?.dockSide) {
nativeapi.WindowDockSide.left => DockSide.left,
nativeapi.WindowDockSide.right => DockSide.right,
_ => null,
};
}