AiDocSearchResponse.fromJson constructor
Implementation
factory AiDocSearchResponse.fromJson(Map<String, dynamic> json) =>
AiDocSearchResponse(
sourceDocuments: List<SourceDocument>.from(
json["sourceDocuments"].map((x) => SourceDocument.fromJson(x))),
text: json["text"],
);