clear method

void clear()

Clears the current text value.

Implementation

void clear() {
  text = '';
}