assistedFactory top-level constant
AssistedFactory
const assistedFactory
Annotates an abstract class used to create an instance of a type via an
AssistedInject
constructor.
- The type must be an abstract class.
- Return type must exactly match the type of the
AssistedInject
type - Parameters must match the exact list of
Assisted
parameters in theAssistedInject
type's constructor
Implementation
const assistedFactory = AssistedFactory._();