BaseStateNotifier<DataState> constructor
Implementation
@override
BaseStateNotifier(Ref ref) : super(ref, const BaseState.initial()) {
initWithRefAndGetOrUpdateState(ref, ({newState}) {
if (newState != null) state = newState;
return state;
});
}