JobStatistics4.fromJson constructor

JobStatistics4.fromJson(
  1. Map json_
)

Implementation

JobStatistics4.fromJson(core.Map json_)
    : this(
        destinationUriFileCounts:
            json_.containsKey('destinationUriFileCounts')
                ? (json_['destinationUriFileCounts'] as core.List)
                    .map((value) => value as core.String)
                    .toList()
                : null,
        inputBytes: json_.containsKey('inputBytes')
            ? json_['inputBytes'] as core.String
            : null,
        timeline: json_.containsKey('timeline')
            ? (json_['timeline'] as core.List)
                .map((value) => QueryTimelineSample.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );