onError property Null safety

(Widget Function?(dynamic error)?) onError
final

Widget to display when the at least on of the observed ReactiveModels has an error.

It has the second priority after onWaiting. That is none of the observed model is in the waiting state, and if at least one of the observed ReactiveModels has error this callback will be invoked.

Implementation

final Widget Function(dynamic error)? onError;