ObjectFactory<T> typedef Null safety

ObjectFactory<T> = T Function()

Callback used to lazily create an object of type T.

Implementation

typedef ObjectFactory<T> = T Function();