artifacts property
List<AgentDelegationArtifact> ?
get
artifacts
Implementation
List<AgentDelegationArtifact>? get artifacts {
return (_json['artifacts'] as List?)
?.map(
(e) => AgentDelegationArtifact.fromJson(e as Map<String, dynamic>),
)
.toList();
}
set
artifacts
(List<AgentDelegationArtifact> ? value)
Implementation
set artifacts(List<AgentDelegationArtifact>? value) {
if (value == null) {
_json.remove('artifacts');
} else {
_json['artifacts'] = value.map((e) => e.toJson()).toList();
}
}