BackgroundTaskReport constructor
BackgroundTaskReport({})
Implementation
BackgroundTaskReport({
required String taskId,
String? agent,
String? name,
required String status,
String? response,
List<AgentDelegationArtifact>? artifacts,
String? error,
}) {
_json = {
'taskId': taskId,
'agent': ?agent,
'name': ?name,
'status': status,
'response': ?response,
'artifacts': ?artifacts?.map((e) => e.toJson()).toList(),
'error': ?error,
};
}