asReduxStore method

FluxToReduxAdapterStore<InfluxStoreMixin> asReduxStore(
  1. dynamic actions, {
  2. List<Middleware>? middleware,
})

Returns an adapter store backed by this store, which can be used with connect.

Multiple calls to this method will always return the same instance.

This is meant to be a more succinct way to instantiate the adapter store.

Implementation

FluxToReduxAdapterStore asReduxStore(dynamic actions,
        {List<redux.Middleware>? middleware}) =>
    _storeAdapterFor[this] ??=
        FluxToReduxAdapterStore(this, actions, middleware: middleware);