isSiteFile property

bool get isSiteFile

Whether url is a path relative to the published site (fonts/Inter.ttf), not a URL.

Implementation

bool get isSiteFile => url != null && isRelativeAssetPath(url!);