getArtifact method
- String name
Gets an artifact by name.
Resolves the artifact kref by combining kref and the name, then returns the model wrapper.
final mesh = await revision.getArtifact('mesh');
Implementation
Future<Artifact> getArtifact(String name) async {
final response = await client.getArtifact(kref.uri, name);
return Artifact(response, client);
}