OptimizationLevel enum

The optimization level for the dart2js compiler

Inheritance
Available extensions

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

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.