getState<T> function

T getState<T>({
  1. String instanceId = "",
})

               PUBLIC API

Usage: Include the Feature

Use: ReduxStateProviderDecoration() App Decoration e.g. ReduxStateProviderDecoration<FeatureState>(name: 'feature_state, factory: () => FeatureState())` for features to provide state objects.

FeatureState state = getState

Implementation

T getState<T>({String instanceId = ""}) =>
    _dartBoardReduxKey.currentState!.store.state
        .getState<T>(instanceId: instanceId);