ListJobsResponse.fromJson constructor

ListJobsResponse.fromJson(
  1. Map json_
)

Implementation

ListJobsResponse.fromJson(core.Map json_)
    : this(
        failedLocation: json_.containsKey('failedLocation')
            ? (json_['failedLocation'] as core.List)
                .map((value) => FailedLocation.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        jobs: json_.containsKey('jobs')
            ? (json_['jobs'] as core.List)
                .map((value) => Job.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );