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.

See also: prop and setProp.

Implementation

Object? get env => _store.env;