Phase.fromJson constructor

Phase.fromJson(
  1. Map json_
)

Implementation

Phase.fromJson(core.Map json_)
    : this(
        childRolloutJobs: json_.containsKey('childRolloutJobs')
            ? ChildRolloutJobs.fromJson(json_['childRolloutJobs']
                as core.Map<core.String, core.dynamic>)
            : null,
        deploymentJobs: json_.containsKey('deploymentJobs')
            ? DeploymentJobs.fromJson(json_['deploymentJobs']
                as core.Map<core.String, core.dynamic>)
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        skipMessage: json_.containsKey('skipMessage')
            ? json_['skipMessage'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );