fromJson static method

RequestThreadZhipuAIResult fromJson(
  1. dynamic json
)

Implementation

static RequestThreadZhipuAIResult fromJson(dynamic json) {
  return RequestThreadZhipuAIResult(
      message: json["message"],
      statusCode: json["status_code"],
      msg: MessageZhipuAI.fromJsonThread(json["data"]));
}