getKeysWithPrefix method
Gets a list of keys with the given prefix.
Implementation
List<String> getKeysWithPrefix(String prefix) {
final keys = <String>[];
void visitor(String key, T? value) {
keys.add(key);
}
visitRootPrefixed(visitor, prefix);
return keys;
}