knownPresets property

Set<String> get knownPresets

All preset names that are known to be valid.

This includes presets that have already been resolved.

Implementation

Set<String> get knownPresets => _knownPresets ??= UnmodifiableSetView({
      ...presets.keys,
      for (var configuration in presets.values) ...configuration.knownPresets
    });