pragma library

The Dart compilers consider various user annotations (pragmas) during compilation. This library makes their use easier.

Make sure to study and understand the documentation for the Dart VM and Dart2JS before using any of this code.

Constants

neverInline → const pragma
Never inline a function or method.
neverInlineJs → const pragma
neverInlineVm → const pragma
neverInlineWasm → const pragma
noBoundsChecks → const pragma
Removes all array bounds checks.
noBoundsChecksJs → const pragma
noBoundsChecksVm → const pragma
preferInline → const pragma
Inline a function or method when possible.
preferInlineJs → const pragma
preferInlineVm → const pragma
preferInlineWasm → const pragma