flatbuffers
flatbuffers copied to clipboard
dart: use enhanced enums
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.