Here is the specification: https://github.com/dart-lang/language/blob/main/working/augmentation-libraries/parts_with_imports.md.