ErrorBuilder<T> typedef Null safety

T ErrorBuilder<T>(
  1. BuildContext context,
  2. Object? error
)

A callback used to build a valid value from an error.

See also:

Implementation

typedef ErrorBuilder<T> = T Function(BuildContext context, Object? error);