How to achieve precompiler directive like functionality
I see two possibilities (haven’t tried any of these myself yet) one is to use a transformer (see also Pass custom parameters to a dart application when using pub serve to run it) or Compile-time dead code elimination with dart2js Recently a feature should have been added that pub build allows adding an environment variables … Read more