clear method
override
    Throws an UnsupportedError; operations that change the length of the list are disallowed.
Implementation
@override
void clear() => _throw();Throws an UnsupportedError; operations that change the length of the list are disallowed.
@override
void clear() => _throw();