ConfigManagementPolicyControllerState.fromJson constructor

ConfigManagementPolicyControllerState.fromJson(
  1. Map json_
)

Implementation

ConfigManagementPolicyControllerState.fromJson(core.Map json_)
    : this(
        deploymentState: json_.containsKey('deploymentState')
            ? ConfigManagementGatekeeperDeploymentState.fromJson(
                json_['deploymentState']
                    as core.Map<core.String, core.dynamic>)
            : null,
        migration: json_.containsKey('migration')
            ? ConfigManagementPolicyControllerMigration.fromJson(
                json_['migration'] as core.Map<core.String, core.dynamic>)
            : null,
        version: json_.containsKey('version')
            ? ConfigManagementPolicyControllerVersion.fromJson(
                json_['version'] as core.Map<core.String, core.dynamic>)
            : null,
      );