getCommandToSetData method
get command to set data to redis
Implementation
List<String> getCommandToSetData(String key, String value,
[String? option, dynamic optionValue]) {
List<String> command = <String>[
'SET',
_setPrefixInKeys(<String>[key]).first,
value.toString()
];
if (option != null && optionValue != null) {
command.addAll(<String>[option.toUpperCase(), optionValue.toString()]);
}
return command;
}