clear method

void clear()

Clears the current value by setting it to an empty string.

Implementation

void clear() => value = '';