toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  "metadata": metadata.toJson(),
  "thread_id": threadId,
  "run_id" : runId
};