isMainWindow static method

Future<bool> isMainWindow()

Returns whether the window is the main window.

Implementation

static Future<bool> isMainWindow() async {
  await _completer.future;
  return await _windowManipulatorMethodChannel.invokeMethod('isMainWindow');
}