AssistantFileList.fromJson constructor

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

Implementation

factory AssistantFileList.fromJson(Map<String, dynamic> json) => AssistantFileList(
  object: json["object"],
  data: List<File>.from(json["data"].map((x) => File.fromJson(x))),
  firstId: json["first_id"],
  lastId: json["last_id"],
  hasMore: json["has_more"],
);