OptimizationLevel enum
The optimization level for the dart2js compiler
Values
- O0 → const OptimizationLevel
-
No optimizations (only meant for debugging the compiler).
- O1 → const OptimizationLevel
-
Default (includes whole program analyses and inlining).
- O2 → const OptimizationLevel
-
Safe production-oriented optimizations (like minification).
- O3 → const OptimizationLevel
-
Potentially unsafe optimizations (see -h -v for details).
- O4 → const OptimizationLevel
-
More agressive unsafe optimizations (see -h -v for details).
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
OptimizationLevel> - A constant List of the values in this enum, in order of their declaration.