get method

Future<String?> get(
  1. String key
)

Get value of a key

await redis.get('foo');

Implementation

Future<String?> get(String key) async {
  return await sendCommand(getCommandToGetData(key));
}