RolloutStage.fromJson constructor

RolloutStage.fromJson(
  1. Map json_
)

Implementation

RolloutStage.fromJson(core.Map json_)
  : this(
      clusterSelector: json_.containsKey('clusterSelector')
          ? ClusterSelector.fromJson(
              json_['clusterSelector'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      endTime: json_['endTime'] as core.String?,
      fleetProjects: (json_['fleetProjects'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      soakDuration: json_['soakDuration'] as core.String?,
      stageNumber: json_['stageNumber'] as core.int?,
      startTime: json_['startTime'] as core.String?,
      state: json_['state'] as core.String?,
    );