clear method
Removes all objects from this list; the length of the list becomes zero.
The list must be growable.
final numbers = [1, 2, 3].notifier;
numbers.clear();
print(numbers.length); // 0
print(numbers); // []
Implementation
@override
void clear() {
_updateOnAction(() => value.clear());
}