File.fromJson constructor

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

Implementation

factory File.fromJson(Map<String, dynamic> json) => File(
  id: json["id"],
  object: json["object"],
  createdAt: json["created_at"],
  assistantId: json["assistant_id"],
);