Returns whether the window is the main window.
static Future<bool> isMainWindow() async { await _completer.future; return await _windowManipulatorMethodChannel.invokeMethod('isMainWindow'); }