OnError typedef

OnError = Widget Function(dynamic error, void refreshError())

Implementation

typedef OnError = Widget Function(dynamic error, void Function() refreshError);