hide method

void hide()

Implementation

void hide() {
  element?.style.display = 'none';
}