delete method

Future<void> delete(
  1. String key
)

Delete a key

await redis.get('foo');

Implementation

Future<void> delete(String key) async {
  await sendCommand(<String>[
    'DEL',
    _setPrefixInKeys(<String>[key]).first
  ]);
}