Register.factory constructor
const
Register.factory(})
Create an annotation that will generate a registerFactory
method.
Implementation
const Register.factory(
this.type, {
this.name,
this.from,
this.resolvers,
this.constructorName,
}) : oneTime = null;