StaticvaluesEvery instance declared as a static member, in declaration order.
A getter so templates can read it ({{#each OrderState.values}}). TypeScript cannot give
a static getter a per-subclass type, so it is any[]; annotate where it matters
(const all: OrderState[] = OrderState.values).
Returns the primitive value of the specified object.
StaticcodecStaticmatchStaticofDeclares a member: static Pending = OrderState.of('pending'). Same instance as new, but
typed as its own member, which is what lets Enum.match track what is handled.
Staticvalue
The value with its first letter capitalized, or, once the class has a
static i18nkey and a translator is set, its translation. Read on every access (never cached), so a trackedlocalekeeps it reactive in Ember.