getAtKey method

AtKey getAtKey(
  1. String regexKey
)

returns AtKey of regexKey

Implementation

AtKey getAtKey(String regexKey) {
  var atKey = AtKey.fromString(regexKey);
  atKey.metadata.ttr = -1;
  // atKey.metadata.ttl = MixedConstants.maxTTL; // 7 days
  atKey.metadata.ccd = true;
  return atKey;
}