Sets whether the window can be closed.
Future<void> setClosable(bool closable) { return _platform.setClosable(_id, closable); }