readonly top-level constant

MakeObservable const readonly

Declares a class field as an observable. See the Observable class for full documentation.

But, it's only modifiable within the Store

Implementation

const MakeObservable readonly = MakeObservable(readOnly: true);