Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
get files() {
return [
...AssetUtils.arrayFromObject(Assets.images || {}),
// ...AssetUtils.arrayFromObject(Assets.models || {})
];
}
get files() {
return [
...AssetUtils.arrayFromObject(Assets.images || {}),
...AssetUtils.arrayFromObject(Assets.models || {})
];
}
downloadAsync = async () =>
AssetUtils.cacheAssetsAsync({
files: [...AssetUtils.arrayFromObject(this.assets)],
});
get audio() {
return AssetUtils.arrayFromObject(Assets.audio);
}
get files() {
return [
...AssetUtils.arrayFromObject(Assets.images),
...AssetUtils.arrayFromObject(Assets.models),
];
}
get audio() {
return AssetUtils.arrayFromObject(Assets.audio);
}
get files() {
return [
...AssetUtils.arrayFromObject(Assets.images),
...AssetUtils.arrayFromObject(Assets.models),
];
}
get audio() {
return AssetUtils.arrayFromObject(Assets.audio);
}
get files() {
return [
...AssetUtils.arrayFromObject(Assets.images || {}),
...AssetUtils.arrayFromObject(Assets.models || {})
];
}