clear method
Removes all elements from the set.
final characters = <String>{'A', 'B', 'C'};
characters.clear(); // {}
Implementation
@override
void clear() => set(<E>{} as T, force: true);
Removes all elements from the set.
final characters = <String>{'A', 'B', 'C'};
characters.clear(); // {}
@override
void clear() => set(<E>{} as T, force: true);