DownloadSizeEvidence.fromJson constructor

DownloadSizeEvidence.fromJson(
  1. Map json_
)

Implementation

DownloadSizeEvidence.fromJson(core.Map json_)
    : this(
        topUrlDownloadSizeBreakdowns:
            json_.containsKey('topUrlDownloadSizeBreakdowns')
                ? (json_['topUrlDownloadSizeBreakdowns'] as core.List)
                    .map((value) => UrlDownloadSize.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                    .toList()
                : null,
        totalDownloadSizeKb: json_.containsKey('totalDownloadSizeKb')
            ? json_['totalDownloadSizeKb'] as core.int
            : null,
      );