enabledExperiments top-level property

List<String> get enabledExperiments

The list of enabled Dart language experiments for the current Zone.

This can be overridden for a new Zone by using withEnabledExperiments.

Implementation

List<String> get enabledExperiments =>
    Zone.current[_enabledExperimentsKey] as List<String>? ?? const [];