AssetUriError class

Asset URI could not be constructed.

This occurs when an asset path cannot be converted to a valid URI, usually due to invalid path formats or missing package information.

Inheritance

Constructors

AssetUriError.new(String path, [String? reason])
Creates a new AssetUriError for the given path with an optional reason.

Properties

hashCode int
The hash code for this object.
no setterinherited
path String
The path that couldn't be converted to an asset URI.
final
reason String?
Optional explanation for why the URI couldn't be constructed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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