clear method

  1. @override
void clear()
override

Removes all elements from this Watcher's value.

final charactersWatcher = <String>{'A', 'B', 'C'}.watcher;
characters.clear(); // {}

Implementation

@override
void clear() => updateOnAction(() => value.clear());