WorkflowTemplatePlacement.fromJson constructor

WorkflowTemplatePlacement.fromJson(
  1. Map json_
)

Implementation

WorkflowTemplatePlacement.fromJson(core.Map json_)
    : this(
        clusterSelector: json_.containsKey('clusterSelector')
            ? ClusterSelector.fromJson(json_['clusterSelector']
                as core.Map<core.String, core.dynamic>)
            : null,
        managedCluster: json_.containsKey('managedCluster')
            ? ManagedCluster.fromJson(json_['managedCluster']
                as core.Map<core.String, core.dynamic>)
            : null,
      );