Job.fromJson constructor

Job.fromJson(
  1. Map json_
)

Implementation

Job.fromJson(core.Map json_)
    : this(
        advanceChildRolloutJob: json_.containsKey('advanceChildRolloutJob')
            ? AdvanceChildRolloutJob.fromJson(json_['advanceChildRolloutJob']
                as core.Map<core.String, core.dynamic>)
            : null,
        createChildRolloutJob: json_.containsKey('createChildRolloutJob')
            ? CreateChildRolloutJob.fromJson(json_['createChildRolloutJob']
                as core.Map<core.String, core.dynamic>)
            : null,
        deployJob: json_.containsKey('deployJob')
            ? DeployJob.fromJson(
                json_['deployJob'] as core.Map<core.String, core.dynamic>)
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        jobRun: json_.containsKey('jobRun')
            ? json_['jobRun'] as core.String
            : null,
        postdeployJob: json_.containsKey('postdeployJob')
            ? PostdeployJob.fromJson(
                json_['postdeployJob'] as core.Map<core.String, core.dynamic>)
            : null,
        predeployJob: json_.containsKey('predeployJob')
            ? PredeployJob.fromJson(
                json_['predeployJob'] as core.Map<core.String, core.dynamic>)
            : null,
        skipMessage: json_.containsKey('skipMessage')
            ? json_['skipMessage'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        verifyJob: json_.containsKey('verifyJob')
            ? VerifyJob.fromJson(
                json_['verifyJob'] as core.Map<core.String, core.dynamic>)
            : null,
      );