close method Null safety
Closes the current window.
This is rather confusing and will be removed.
Should replace all usages with window.close()
or quit().
Implementation
@deprecated
Future<void> close() async => (await window).close();
Closes the current window.
This is rather confusing and will be removed.
Should replace all usages with window.close()
or quit().
@deprecated
Future<void> close() async => (await window).close();