flatbuffers icon indicating copy to clipboard operation
flatbuffers copied to clipboard

dart: use enhanced enums

Open vaind opened this issue 1 year ago • 0 comments
trafficstars

Dart has had enhanced enums for a few years so we can now use it instead of our hacky class with static fields. User code should be mostly unaffected, other than using the defaullt toString() now (closes #8260) and the change in .values type. Both now default to standard dart enum behavior.

vaind avatar May 18 '24 20:05 vaind