observe property Null safety

(ReactiveModel<T> Function?()?) observe
final

an observable class to which you want WhenRebuilder to subscribe.

WhenRebuilderOr(
 observe:()=> myModel1,
 onWaiting: ()=> ...
 onError: (error)=> ...
 builder: (context, reactiveModel)=> ...

Implementation

final ReactiveModel<T> Function()? observe;