clear method

void clear ()
override

Throws an UnsupportedError; operations that change the length of the list are disallowed.

Implementation

void clear() => _throw();