MembershipFeatureState.fromJson constructor

MembershipFeatureState.fromJson(
  1. Map json_
)

Implementation

MembershipFeatureState.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')
            ? ClusterUpgradeMembershipState.fromJson(json_['clusterupgrade']
                as core.Map<core.String, core.dynamic>)
            : null,
        configmanagement: json_.containsKey('configmanagement')
            ? ConfigManagementMembershipState.fromJson(
                json_['configmanagement']
                    as core.Map<core.String, core.dynamic>)
            : null,
        fleetobservability: json_.containsKey('fleetobservability')
            ? FleetObservabilityMembershipState.fromJson(
                json_['fleetobservability']
                    as core.Map<core.String, core.dynamic>)
            : null,
        identityservice: json_.containsKey('identityservice')
            ? IdentityServiceMembershipState.fromJson(json_['identityservice']
                as core.Map<core.String, core.dynamic>)
            : null,
        policycontroller: json_.containsKey('policycontroller')
            ? PolicyControllerMembershipState.fromJson(
                json_['policycontroller']
                    as core.Map<core.String, core.dynamic>)
            : null,
        servicemesh: json_.containsKey('servicemesh')
            ? ServiceMeshMembershipState.fromJson(
                json_['servicemesh'] as core.Map<core.String, core.dynamic>)
            : null,
        state: json_.containsKey('state')
            ? FeatureState.fromJson(
                json_['state'] as core.Map<core.String, core.dynamic>)
            : null,
      );