Sets whether the window with the given id is closable.
id
@override Future<void> setClosable(int id, bool closable) => _wm .invokeSetter(_wm.setClosable, closable) .then((_) => _listener._updateState());