AssistantList.fromJson constructor

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

Implementation

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