flushDb method
Flushes the currently selected database. Completes with no value, if the command was successful.
Implementation
Future<void> flushDb({bool doAsync = false}) async {
_getSimpleString(await _execCmd(doAsync ? ['FLUSHDB', 'ASYNC'] : ['FLUSHDB'])) == 'OK';
return null;
}