Factory<T> typedef
Factory<T> =
FutureOr<T> Function()
Synchronous or asynchronous producer of a T. Used by IsolatedObject
to create the wrapped object inside the child isolate.
Implementation
typedef Factory<T> = FutureOr<T> Function();