assisted top-level constant

Assisted const assisted

Annotates a parameter for an assisted injection constructor.

The assisted injection is a dependency injection (DI) pattern used to construct an object where the DI framework can provide some parameters while the user must pass others at build time (also known as assisted).

A factory is usually responsible for combining all the parameters and creating the object.

Implementation

const assisted = Assisted._();