publicState<T> method

T? publicState<T>(
  1. String name, {
  2. Map<String, int>? stackMap,
})

For Debug Get the public state of the module

Implementation

T? publicState<T>(
  String name, {
  Map<String, int>? stackMap,
}) {
  if (_isDebug) {
    ReduxStateInner innerState = store.states.value;
    return innerState.byName(
      name,
      stackMap: stackMap,
    );
  }
  return null;
}