It is now possible in Dart to initialize top-level (i.e. static) variables using any expression. The expression gets evaluated lazily. When I first heard about this, my instant reaction was fear becau...
1
Danny Hermes's profile photoKasper Lund's profile photoShannon “JJ” Behrens's profile photo
4 comments
 
I guess you can also get in trouble with getters that have side-effects? 
Add a comment...