PackageConfigParseError class
JSON parsing failed when processing package configuration.
This occurs when the package_config.json file exists but contains invalid JSON or doesn't match the expected format.
- Inheritance
-
- Object
- PackageFileResolverError
- PackageConfigParseError
Constructors
- PackageConfigParseError.new(String source, [Object? cause])
- Creates a new PackageConfigParseError with the given source and optional cause.
Properties
- cause → Object?
-
The underlying error that caused the parsing failure, if available.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String
-
The source content that failed to parse.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited