flush method

  1. @override
Future<void> flush()
override

Removes all items from the cache.

Implementation

@override
Future<void> flush() async {
  final cmd = await _getCommand();
  await cmd.send_object(['FLUSHDB']);
}