clear method

IList<T> clear()

Returns an empty list with the same configuration.

Implementation

IList<T> clear() => IListImpl.empty<T>(config);