env property

Object? env

Gets the store environment. This can be used to create a global value, but scoped to the store. For example, you could have a service locator, here, or a configuration value.

This is also directly accessible in ReduxAction and in VmFactory, as env.

See also: prop and setProp.

Implementation

Object? get env => _environment;