MembershipFeatureSpec.fromJson constructor

MembershipFeatureSpec.fromJson(
  1. Map json_
)

Implementation

MembershipFeatureSpec.fromJson(core.Map json_)
    : this(
        configmanagement: json_.containsKey('configmanagement')
            ? ConfigManagementMembershipSpec.fromJson(
                json_['configmanagement']
                    as core.Map<core.String, core.dynamic>)
            : null,
        fleetobservability: json_.containsKey('fleetobservability')
            ? FleetObservabilityMembershipSpec.fromJson(
                json_['fleetobservability']
                    as core.Map<core.String, core.dynamic>)
            : null,
        identityservice: json_.containsKey('identityservice')
            ? IdentityServiceMembershipSpec.fromJson(json_['identityservice']
                as core.Map<core.String, core.dynamic>)
            : null,
        mesh: json_.containsKey('mesh')
            ? ServiceMeshMembershipSpec.fromJson(
                json_['mesh'] as core.Map<core.String, core.dynamic>)
            : null,
        origin: json_.containsKey('origin')
            ? Origin.fromJson(
                json_['origin'] as core.Map<core.String, core.dynamic>)
            : null,
        policycontroller: json_.containsKey('policycontroller')
            ? PolicyControllerMembershipSpec.fromJson(
                json_['policycontroller']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );