clear method
This operation is not supported by an unmodifiable list.
Implementation
@alwaysThrows
@override
void clear() {
throw UnsupportedError("Cannot clear an unmodifiable list");
}
This operation is not supported by an unmodifiable list.
@alwaysThrows
@override
void clear() {
throw UnsupportedError("Cannot clear an unmodifiable list");
}