internal top-level constant

_Internal const internal

Used to annotate a declaration which should only be used from within the package in which it is declared, and which should not be exposed from said package's public API.

Tools, such as the analyzer, can provide feedback if

  • the declaration is declared in a package's public API, or is exposed from a package's public API, or
  • the declaration is private, an unnamed extension, a static member of a private class, mixin, or extension, a value of a private enum, or a constructor of a private class, or
  • the declaration is referenced outside the package in which it is declared.

Implementation

const _Internal internal = _Internal();