RepairRolloutOperation.fromJson constructor

RepairRolloutOperation.fromJson(
  1. Map json_
)

Implementation

RepairRolloutOperation.fromJson(core.Map json_)
    : this(
        currentRepairModeIndex: json_.containsKey('currentRepairModeIndex')
            ? json_['currentRepairModeIndex'] as core.String
            : null,
        jobId:
            json_.containsKey('jobId') ? json_['jobId'] as core.String : null,
        phaseId: json_.containsKey('phaseId')
            ? json_['phaseId'] as core.String
            : null,
        repairPhases: json_.containsKey('repairPhases')
            ? (json_['repairPhases'] as core.List)
                .map((value) => RepairPhase.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        rollout: json_.containsKey('rollout')
            ? json_['rollout'] as core.String
            : null,
      );