DartEmitter constructor Null safety
Creates a new instance of DartEmitter.
May specify an Allocator to use for symbols, otherwise uses a no-op.
Implementation
DartEmitter(
{this.allocator = Allocator.none,
this.orderDirectives = false,
bool useNullSafetySyntax = false})
: _useNullSafetySyntax = useNullSafetySyntax;