Protected
Readonly
Tries to get an AssetArtifact from the given asset API fragment. Which artifact, if any, gets returned depends on the outcome of getArtifactCategory.
Like fromAsset, but when you know exactly which asset artifact API fragment you want to map.
Static
Default compare function of two candidates, compares them by createdAt date, where the more recently created candidate gets priority.
createdAt
Tries to get an AssetArtifact from the given asset API fragment. Which artifact, if any, gets returned depends on the outcome of getArtifactCategory.