modularityExportEnvName constant
LogoModularity

modularityExportEnvName#

const String modularityExportEnvName

Name of the environment flag that marks dependencies as exportable from a module's public scope.

Annotate injectable registrations with this environment to include them in Module.exports:

@Environment(modularityExportEnvName)
@LazySingleton(as: AuthService)
class AuthServiceImpl implements AuthService { ... }