AnalysisArtifact class abstract

Base class for analysis artifacts.

Named AnalysisArtifact to avoid conflict with Artifact in skill_result.dart.

Implementers

Constructors

AnalysisArtifact({required String artifactId, required AnalysisArtifactType type, required String name, required AnalysisArtifactProvenance provenance})
Base constructor for subclasses.
AnalysisArtifact.fromJson(Map<String, dynamic> json)
Factory that dispatches to the correct subclass based on the 'type' field in the JSON.
factory

Properties

artifactId String
Unique artifact identifier.
final
hashCode int
The hash code for this object.
no setterinherited
name String
Human-readable artifact name.
final
provenance AnalysisArtifactProvenance
Provenance metadata describing origin and lineage.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type AnalysisArtifactType
Type of this artifact.
final

Methods

baseToJson() Map<String, dynamic>
Serialize base fields shared by all artifact types.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert to JSON. Subclasses must implement this.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited