ErrorBuilder<T> typedef Null safety

ErrorBuilder<T> = T Function(Object error)

Implementation

typedef ErrorBuilder<T> = T Function(Object error);