toJson method
Implementation
@override
Map<String, dynamic> toJson() => {
'type': 'computer_call',
'id': id,
'call_id': callId,
'action': action.toJson(),
'pending_safety_checks': pendingSafetyChecks.map((c) => c.toJson()).toList(),
if (status != null) 'status': status!.toJson(),
};