CommonFeatureSpec.fromJson constructor

CommonFeatureSpec.fromJson(
  1. Map json_
)

Implementation

CommonFeatureSpec.fromJson(core.Map json_)
    : this(
        appdevexperience: json_.containsKey('appdevexperience')
            ? AppDevExperienceFeatureSpec.fromJson(json_['appdevexperience']
                as core.Map<core.String, core.dynamic>)
            : null,
        clusterupgrade: json_.containsKey('clusterupgrade')
            ? ClusterUpgradeFleetSpec.fromJson(json_['clusterupgrade']
                as core.Map<core.String, core.dynamic>)
            : null,
        dataplanev2: json_.containsKey('dataplanev2')
            ? DataplaneV2FeatureSpec.fromJson(
                json_['dataplanev2'] as core.Map<core.String, core.dynamic>)
            : null,
        fleetobservability: json_.containsKey('fleetobservability')
            ? FleetObservabilityFeatureSpec.fromJson(
                json_['fleetobservability']
                    as core.Map<core.String, core.dynamic>)
            : null,
        multiclusteringress: json_.containsKey('multiclusteringress')
            ? MultiClusterIngressFeatureSpec.fromJson(
                json_['multiclusteringress']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );