kirara-shiroyoru
kirara-shiroyoru
> With primary constructors you can write > ```dart > enum SudoEnum(int i) { option1(1), option2(2), option3(3) } > ``` > > EDIT: for reference see #2364. Maybe I am...
> And to be clear: You are strange. So am I. I completely get not wanting ... well, not the class, but the _instance_ of the class. > > The...
> TL;DR support: > > ```dart > class Foo { > Foo() > : a = DateTime.now(), > b = 'Hello $a'; // < initialize b from a > >...