toJson method
Implementation
@override
Map<String, dynamic> toJson() => {
'type': type,
'event_id': eventId,
'response_id': responseId,
'item_id': itemId,
'output_index': outputIndex,
'call_id': callId,
'arguments': argumentsJson,
};