privateState<T> method

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

For Debug Get the private state of the module

Implementation

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