clear method

Future<List<E>> clear()

Refer to List.clear.

Additionally returns the list.

Implementation

Future<List<E>> clear() async => (await this)..clear();