MAIN constant

String const MAIN

A central collection of constant package name identifiers used throughout the Jetleaf framework.

These names are used for namespacing, module organization, and avoiding hard-coded strings in the codebase. By centralizing them here, it ensures consistency and reduces the likelihood of typos.

Example

void main() {
  print(PackageNames.MAIN);   // "jetleaf"
  print(PackageNames.POD);   // "jetleaf_core"
  print(PackageNames.LANG);   // "jetleaf_lang"
}

The root name of the framework: "jetleaf".

Implementation

static const String MAIN = "jetleaf";