AsyncMaybeCallback<T> typedef
AsyncMaybeCallback<T> =
FutureOr<T> Function()
A callback that has no arguments and returns the async result of the orElse
function.
Implementation
typedef AsyncMaybeCallback<T> = FutureOr<T> Function();