ConfigManagementMembershipSpec.fromJson constructor

ConfigManagementMembershipSpec.fromJson(
  1. Map json_
)

Implementation

ConfigManagementMembershipSpec.fromJson(core.Map json_)
    : this(
        cluster: json_.containsKey('cluster')
            ? json_['cluster'] as core.String
            : null,
        configSync: json_.containsKey('configSync')
            ? ConfigManagementConfigSync.fromJson(
                json_['configSync'] as core.Map<core.String, core.dynamic>)
            : null,
        hierarchyController: json_.containsKey('hierarchyController')
            ? ConfigManagementHierarchyControllerConfig.fromJson(
                json_['hierarchyController']
                    as core.Map<core.String, core.dynamic>)
            : null,
        management: json_.containsKey('management')
            ? json_['management'] as core.String
            : null,
        policyController: json_.containsKey('policyController')
            ? ConfigManagementPolicyController.fromJson(
                json_['policyController']
                    as core.Map<core.String, core.dynamic>)
            : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.String
            : null,
      );