dart / 2 / dart-core / pragma / pragma.html

pragma constructor

const pragma(
  1. String name,
  2. [Object? options]
)

Creates a hint named name with optional options.

Implementation

const factory pragma(String name, [Object? options]) = pragma._;

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-core/pragma/pragma.html