noInline top-level constant

const noInline = 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 noInline = const _NoInline()