ResolvedAsset class

A declared pubspec.yaml asset resolved to an actual file on disk, with its path normalized relative to the project root (forward-slash, matching how Dart source references assets regardless of host OS).

Constructors

ResolvedAsset({required File file, required String relativePath})
const

Properties

file File
final
hashCode int
The hash code for this object.
no setterinherited
relativePath String
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.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited