SyntaxErrorInAssetException class Null safety
Exception thrown by a resolver when attempting to resolve a Dart library with syntax errors.
Builders are not expected to catch this exception unless they have special behavior for inputs with syntax errors. This exception has a descriptive toString implementation that the build system will show to users.
- Implemented types
- assetId → AssetId
The syntactically invalid AssetId that couldn't be resolved.
A map from syntaxErrors to per-file results
A list analysis error results for files related to the assetId. [...]
- hashCode → int
The hash code for this object. [...]
- runtimeType → Type
A representation of the runtime type of the object.
The errors reported by the parser when trying to resolve the assetId. [...]