UpdateFileAddedToDownloads.fromJson constructor

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

Parse from a json

Implementation

factory UpdateFileAddedToDownloads.fromJson(Map<String, dynamic> json) =>
    UpdateFileAddedToDownloads(
      fileDownload: FileDownload.fromJson(json['file_download']),
      counts: DownloadedFileCounts.fromJson(json['counts']),
      extra: json['@extra'],
      clientId: json['@client_id'],
    );