mainModule property

String get mainModule

The URL of the entrypoint module entered from the command-line. It requires read permission to the CWD.

Also see {@linkcode ImportMeta} for other related information.

Implementation

_i2.String get mainModule => _i3.getProperty(
      this,
      'mainModule',
    );