state property
The current state
Implementation
@override
T get state {
return snapState.state;
}
Implementation
@override
set state(T value) {
if (!isInitialized) {
removeFromReactiveModel = addToActiveReactiveModels(this);
isInitialized = true;
}
setStateNullable(
(_) => value,
middleSetState: middleSetState,
stackTrace: kDebugMode ? StackTrace.current : null,
);
}