clear method

Future<List> clear()

Clear the list and return queued items.

Implementation

Future<List> clear() => _flushWrap(true);