getCommandToGetData method

List<String> getCommandToGetData(
  1. String key
)

get command to get data from redis

Implementation

List<String> getCommandToGetData(String key) {
  List<String> command = <String>[
    'GET',
    _setPrefixInKeys(<String>[key]).first
  ];
  return command;
}