mixin

LibFiles

@Js
const mixin LibFiles

Access to file resources packaged with library.

methods get

Get a file in this library

isSupported

Return if this API is supported, will be false in browser environments

list

List all resource files in this library

published

List the resource files published with a uri of their own

get abstract LibFile? get(Uri uri, Bool checked := true)

Get a file in this library

isSupported abstract Bool isSupported()

Return if this API is supported, will be false in browser environments.

list abstract LibFile[] list()

List all resource files in this library.

published abstract LibFile[] published()

List the resource files published with a uri of their own. These are the files a lib offers for public consumption; the rest are packaged for the runtime to read but are not addressable outside the lib.

Haxall 4.0.7 ∙ 27-Oct-2026 09:10 EDT