enumerated top-level constant

Enumerated const enumerated

Annotation to specify how an enum property should be serialized.

Implementation

const enumerated = Enumerated(EnumType.ordinal);