ConversationItemTruncatedEvent.fromJson constructor
Creates a ConversationItemTruncatedEvent from JSON.
Implementation
factory ConversationItemTruncatedEvent.fromJson(Map<String, dynamic> json) {
return ConversationItemTruncatedEvent(
eventId: json['event_id'] as String,
itemId: json['item_id'] as String,
contentIndex: json['content_index'] as int,
audioEndMs: json['audio_end_ms'] as int,
);
}