toJson method
Implementation
@override
Map<String, dynamic> toJson() => {
'type': 'computer_call_output',
'call_id': callId,
'output': output.toJson(),
if (acknowledgedSafetyChecks != null) 'acknowledged_safety_checks': acknowledgedSafetyChecks!.map((e) => e.toJson()).toList(),
if (id != null) 'id': id,
if (status != null) 'status': status!.toJson(),
};