ReactiveModel<T>.create constructor
ReactiveModel<T>.create ({})
Create a ReactiveModel
Implementation
factory ReactiveModel.create({
required Object? Function() creator,
T? initialState,
bool? autoDisposeWhenNotUsed,
}) {
return ReactiveModelImp<T>(
creator: creator,
initialState: initialState,
autoDisposeWhenNotUsed: autoDisposeWhenNotUsed ?? true,
stateInterceptorGlobal: null,
);
}