getSubValues method

List<V> getSubValues(
  1. K? key, {
  2. bool includePurgedEntries = false,
})

Return sub values of key.

Implementation

List<V> getSubValues(K? key, {bool includePurgedEntries = false}) {
  var subValues = <V>[];
  if (key == null) return subValues;

  if (includePurgedEntries) {
    _getSubValuesImplIncludePurgedEntries(key, subValues);
  } else {
    _getSubValuesImpl(key, subValues);
  }
  return subValues;
}