AutomationRolloutMetadata.fromJson constructor

AutomationRolloutMetadata.fromJson(
  1. Map json_
)

Implementation

AutomationRolloutMetadata.fromJson(core.Map json_)
    : this(
        advanceAutomationRuns: json_.containsKey('advanceAutomationRuns')
            ? (json_['advanceAutomationRuns'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        promoteAutomationRun: json_.containsKey('promoteAutomationRun')
            ? json_['promoteAutomationRun'] as core.String
            : null,
        repairAutomationRuns: json_.containsKey('repairAutomationRuns')
            ? (json_['repairAutomationRuns'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );