noInline top-level constant Null safety

pragma const noInline

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';

Implementation

const noInline = pragma('dart2js:noInline');