Dart Analyze logoDart Analyze/
DRT-W1390

Internal library can't be importedDRT-W1390

Major severityMajor
Bug Risk categoryBug Risk

The analyzer produces this diagnostic when it finds an import whose dart: URI references an internal library.

Example

The following code produces this diagnostic because _interceptors is an internal library:

import 'dart:_interceptors';

Common fixes

Remove the import directive.