factory ThreadModel.fromJson(Map<String, dynamic> json) => ThreadModel( id: json["id"], object: json["object"], createdAt: json["created_at"], metadata: Metadata.fromJson(json["metadata"]), );