type
methods
each |
Iterate the enum items by spec and string key |
---|---|
keys |
List the string keys |
spec |
Lookup enum item spec by its string key |
xmeta |
Get the extended meta for the given enum item key. |
Slot Details
each
keys
abstract Str[] keys()
List the string keys
spec
xmeta
abstract Dict? xmeta(Str? key := null, Bool checked := true)
Get the extended meta for the given enum item key. If key is null then get the extended meta for the enum spec itself. This method is only available if the requested by the LibNamespace.xmetaEnum
otherwise an exception is raised.