DownloadServiceTotalAssetItem.fromJson constructor
Implementation
DownloadServiceTotalAssetItem.fromJson(Map<String, dynamic> json) {
h5Path = json['h5Path'];
isAssetsDone = json['isAssetsDone'];
if (json['assets'] != null) {
List tmpAssets = json['assets'];
assets = tmpAssets.map((e) => DownloadServiceItem.fromJson(e)).toList();
}
}