initState property Null safety

(void Function?(BuildContext, ReactiveModel<T>)?) initState
final
WhenRebuilderOr(
 initState:(BuildContext context, ReactiveModel model)=> myModel.init([context,model]),
 observe:()=> myModel1,
 onWaiting: ()=> ...
 onError: (error)=> ...
 builder: (context, reactiveModel)=> ...
)

Called when this object is inserted into the tree.

Implementation

final void Function(BuildContext, ReactiveModel<T>)? initState;