setClosable method

  1. @override
Future<void> setClosable(
  1. int id,
  2. bool closable
)

Sets whether the window with the given id is closable.

Implementation

@override
Future<void> setClosable(int id, bool closable) => _wm
    .invokeSetter(_wm.setClosable, closable)
    .then((_) => _listener._updateState());