Most of the lib is generated from the online documentation.
There are 2 steps:
- Generate template class from documentation
- Generate real code with js_wrapping_generator
dart tool/generate_lib.dart
dart run build_runner build --delete-conflicting-outputs -v lib