clear method

void clear()

Clears the string, setting it to an empty value.

Implementation

void clear() => value = '';