Dart enum constants resolution and other enums related stuff