compiler_unsupported 1.20.0 compiler_unsupported: ^1.20.0 copied to clipboard
This is an unsupported copy of the dart2js source. The API of this package can and will change in unpredictable and incompatible ways.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add compiler_unsupported
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
compiler_unsupported: ^1.20.0
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:compiler_unsupported/compiler.dart';
import 'package:compiler_unsupported/compiler_new.dart';
import 'package:compiler_unsupported/libraries.dart';
import 'package:compiler_unsupported/sdk.dart';
import 'package:compiler_unsupported/sdk_io.dart';
import 'package:compiler_unsupported/version.dart';