JobStatistics3.fromJson constructor

JobStatistics3.fromJson(
  1. Map json_
)

Implementation

JobStatistics3.fromJson(core.Map json_)
    : this(
        badRecords: json_.containsKey('badRecords')
            ? json_['badRecords'] as core.String
            : null,
        inputFileBytes: json_.containsKey('inputFileBytes')
            ? json_['inputFileBytes'] as core.String
            : null,
        inputFiles: json_.containsKey('inputFiles')
            ? json_['inputFiles'] as core.String
            : null,
        outputBytes: json_.containsKey('outputBytes')
            ? json_['outputBytes'] as core.String
            : null,
        outputRows: json_.containsKey('outputRows')
            ? json_['outputRows'] 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,
      );