usesConstructorCallback property

bool usesConstructorCallback
final

feature flag to activate a 'constructor callback'. Setting this to 'true' will generate an additional parameter to '$initGetIt' - named "constructorCallback" - a function of signature "T constructorCallback%lt;T%gt;(T)". Injectable will pass all injectable objects to this delegate at the time of their constructor/module-method invocation. defaults to false

Implementation

final bool usesConstructorCallback;