inputLibrary property

Future<LibraryElement> get inputLibrary

Resolves the library in inputId.

Throws NonLibraryAssetException if inputId is not a Dart library file.

Throws SyntaxErrorInAssetException if inputId contains syntax errors.

To resolve allowing syntax errors, instead use resolver.libraryFor(buildStep.inputId, allowSyntaxErrors: true).

Implementation

Future<LibraryElement> get inputLibrary;