ErrorBuilder<T> typedef
ErrorBuilder<T> =
T Function(BuildContext context, Object? error)
The value a FutureProvider or a StreamProvider provides in place of
error, which its future or stream gave.
Implementation
typedef ErrorBuilder<T> = T Function(BuildContext context, Object? error);