ShowWindowAsync function Null safety user32

int ShowWindowAsync(
  1. int hWnd,
  2. int nCmdShow

Sets the show state of a window without waiting for the operation to complete.

BOOL ShowWindowAsync(
  HWND hWnd,
  int  nCmdShow


int ShowWindowAsync(int hWnd, int nCmdShow) {
  final _ShowWindowAsync = _user32.lookupFunction<
      Int32 Function(IntPtr hWnd, Int32 nCmdShow),
      int Function(int hWnd, int nCmdShow)>('ShowWindowAsync');
  return _ShowWindowAsync(hWnd, nCmdShow);