useFactory property

Function? useFactory
final

A factory function to invoke when token is injected.

For static forms of injection (i.e. compile-time).

Implementation

final Function? useFactory;