close method Null safety

void close()

Closes the window.

Implementation

void close() {
  _client.send(_handler.window.buildCloseRequest(),
      _handler.window.parseCloseResponse);
}