toKeyISet method

ISet<K> toKeyISet({
  1. ConfigSet? config,
})

Returns an ISet of the map keys. Optionally, you may provide a config for the set.

Implementation

ISet<K> toKeyISet({
  ConfigSet? config,
}) {
  return ISet.withConfig(keys, config ?? ISet.defaultConfig);
}