CommonFeatureState.fromJson constructor

CommonFeatureState.fromJson(
  1. Map json_
)

Implementation

CommonFeatureState.fromJson(core.Map json_)
    : this(
        appdevexperience: json_.containsKey('appdevexperience')
            ? AppDevExperienceFeatureState.fromJson(json_['appdevexperience']
                as core.Map<core.String, core.dynamic>)
            : null,
        clusterupgrade: json_.containsKey('clusterupgrade')
            ? ClusterUpgradeFleetState.fromJson(json_['clusterupgrade']
                as core.Map<core.String, core.dynamic>)
            : null,
        fleetobservability: json_.containsKey('fleetobservability')
            ? FleetObservabilityFeatureState.fromJson(
                json_['fleetobservability']
                    as core.Map<core.String, core.dynamic>)
            : null,
        state: json_.containsKey('state')
            ? FeatureState.fromJson(
                json_['state'] as core.Map<core.String, core.dynamic>)
            : null,
      );