clear method

void clear()

Clears the string (sets it to empty).

Implementation

void clear() {
  value = '';
}