getPreamble function
Returns the text of the preamble.
If minified
is true, returns the minified version rather than the
human-readable version.
Implementation
String getPreamble({bool minified: false, List<String> additionalGlobals: const []}) =>
(minified ? _minified : _normal) +
(additionalGlobals.map((global) => "self.$global=$global;").join());