flush method

Future<void> flush()

Implementation

Future<void> flush() => Future.wait(_queue).then((value) => _queue.clear());