CreateThreadMessageModel.fromJson constructor

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

Implementation

factory CreateThreadMessageModel.fromJson(Map<String, dynamic> json) => CreateThreadMessageModel(
  role: json["role"],
  threadId: json["thread_id"],
  content: json["content"],
);