ModuleContext class final

What a module may know about the app it is generated into.

It describes the app itself and nothing about the other modules or roles of the run: a module that needs another role declares it and receives its symbols and presence flags instead.

Constructors

ModuleContext({required String appName, required String orgName, required AppIdentity appIdentity})
Creates the context of one generation run.
const

Properties

appIdentity → AppIdentity
The platforms and the platform identifiers of the app.
final
appName → String
The Dart package name of the app, in snake_case, such as my_app.
final
hashCode → int
The hash code for this object.
no setterinherited
orgName → String
The organization, in reverse domain notation, such as com.example.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited