clear method
void
clear()
Clears the entire set.
final s = Ref({1,2,3});
s.clear(); // -> {}
Implementation
void clear() {
$.clear();
notifyChange();
}
Clears the entire set.
final s = Ref({1,2,3});
s.clear(); // -> {}
void clear() {
$.clear();
notifyChange();
}