close method

  1. @Deprecated('Use `window.close()` or `quit()` instead.')
void close()

Closes the current window.

This is rather confusing and will be removed. Should replace all usages with window.close() or quit().

Implementation

@Deprecated('Use `window.close()` or `quit()` instead.')
void close() {
  window.close();
}