ErrorBuilder<T> typedef

T ErrorBuilder (
  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);