AsyncInstanceBuilderCallback<S> typedef

AsyncInstanceBuilderCallback<S> = Future<S> Function()

A callback function used to asynchronously construct instances of type S.

The function takes no parameters and returns a Future that resolves to an instance of type S.

Implementation

typedef AsyncInstanceBuilderCallback<S> = Future<S> Function();