clear method Null safety

  1. @override
void clear()
override

Removes all elements from this collection.

Implementation

@override
void clear();