cobaltSingleton top-level constant

CobaltInject const cobaltSingleton

Registers the class as an eager singleton, built while the container is assembled.

Implementation

const cobaltSingleton = CobaltInject(lifetime: CobaltLifetime.singleton);