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