noInline top-level constant
An annotation for methods to request that dart2js does not inline the method.
import 'package:meta/dart2js.dart' as dart2js;
@dart2js.noInline
String text() => 'A String of unusual size';
It is an error to use both @noInline
and @tryInline
on the same method.
Implementation
const noInline = pragma('dart2js:noInline');