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,
      );