FeatureState.fromJson constructor

FeatureState.fromJson(
  1. Map json_
)

Implementation

FeatureState.fromJson(core.Map json_)
  : this(
      appdevexperience: json_.containsKey('appdevexperience')
          ? AppDevExperienceState.fromJson(
              json_['appdevexperience']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      clusterupgrade: json_.containsKey('clusterupgrade')
          ? ClusterUpgradeState.fromJson(
              json_['clusterupgrade'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      configmanagement: json_.containsKey('configmanagement')
          ? ConfigManagementState.fromJson(
              json_['configmanagement']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      identityservice: json_.containsKey('identityservice')
          ? IdentityServiceState.fromJson(
              json_['identityservice'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      metering: json_.containsKey('metering')
          ? MeteringState.fromJson(
              json_['metering'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      policycontroller: json_.containsKey('policycontroller')
          ? PolicyControllerState.fromJson(
              json_['policycontroller']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      rbacrolebindingactuation: json_.containsKey('rbacrolebindingactuation')
          ? RBACRoleBindingActuationState.fromJson(
              json_['rbacrolebindingactuation']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      servicemesh: json_.containsKey('servicemesh')
          ? ServiceMeshState.fromJson(
              json_['servicemesh'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      state: json_.containsKey('state')
          ? State.fromJson(
              json_['state'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      workloadidentity: json_.containsKey('workloadidentity')
          ? WorkloadIdentityState.fromJson(
              json_['workloadidentity']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
    );