Open devoncarew opened 1 year ago
We may want to switch the orderDirectives and useNullSafetySyntax defaults for DartEmitter; they both currently default to false.
orderDirectives
useNullSafetySyntax
false
https://github.com/dart-lang/code_builder/blob/master/lib/src/emitter.dart#L78
I agree! Just got caught by this myself 😄
We may want to switch the
orderDirectives
anduseNullSafetySyntax
defaults for DartEmitter; they both currently default tofalse
.https://github.com/dart-lang/code_builder/blob/master/lib/src/emitter.dart#L78