ContentsRequest.fromJson constructor

ContentsRequest.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory ContentsRequest.fromJson(Map<String, Object?> json) =>
    ContentsRequest(
      disposition: json["disposition"] == null
          ? null
          : Disposition.fromJson(json["disposition"]),
      delivery: json["delivery"] == null
          ? null
          : Delivery.fromJson(json["delivery"]),
      fileId: json["file_id"] as String,
    );