Stage.fromJson constructor

Stage.fromJson(
  1. Map json_
)

Implementation

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