isPinned method

Future<bool> isPinned(
  1. String id
)

Check if window is pinned.

Implementation

Future<bool> isPinned(String id) async {
  final result = await send<bool>('isPinned', windowId: id);
  if (result == null) {
    debugPrint('[ZOrderClient] isPinned($id) returned null — using fallback');
    return false;
  }
  return result;
}