asReactive property
LxReactive<T>
get
asReactive
Exposes this state as a read-only LxReactive interface.
Useful for exposing public API from a controller while keeping the mutation logic private.
Implementation
LxReactive<T> get asReactive => this;