toJson method

  1. @override
Map<String, dynamic> toJson()
override

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,
    };