flushDb method

Future<RespType> flushDb({
  1. bool? doAsync,
})

Implementation

Future<RespType> flushDb({bool? doAsync}) async {
  return tier0.execute([
    'FLUSHDB',
    if (doAsync != null) doAsync ? 'ASYNC' : 'SYNC',
  ]);
}