UpdateFileDownloads.fromJson constructor

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

Parse from a json

Implementation

factory UpdateFileDownloads.fromJson(Map<String, dynamic> json) =>
    UpdateFileDownloads(
      totalSize: json['total_size'],
      totalCount: json['total_count'],
      downloadedSize: json['downloaded_size'],
      extra: json['@extra'],
      clientId: json['@client_id'],
    );