clear method

  1. @override
void clear()
override

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

Implementation

@override
void clear() => _throw();