getKeysByPattern method
Get all keys matching a pattern
Implementation
List<String> getKeysByPattern(String pattern) {
final regex = RegExp(pattern.replaceAll('*', '.*'));
return _cacheInstance.keys.where((key) => regex.hasMatch(key)).toList();
}