0
comment
comment
on 6/24/2014 2:40 PM
Whilst Dart doesn’t have support for enum types but it turns out you can do a pretty good job of emulating it using Dart’s constant constructors (which allows you to create compile-time constants with your class, which in .Net you’re restricted to numbers, booleans, strings and null). Using the technique from this SO answer you [...]