ChatContent.fromJson constructor

ChatContent.fromJson(
  1. Map<String, dynamic> json
)

Implementation

ChatContent.fromJson(Map<String, dynamic> json)
    : content = json['content'] != null
    ? GroceryResponse.fromJson(json['content'])
    : null,
    threadId = json['thread_id'],
    chatRequest = json['chat_request'],
    runId = json['run_id'];