GoogleCloudRunV2ListJobsResponse.fromJson constructor

GoogleCloudRunV2ListJobsResponse.fromJson(
  1. Map json_
)

Implementation

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