OnError typedef Null safety

OnError = void Function(dynamic)

Error handler.

Implementation

typedef OnError = void Function(dynamic);