DefaultClusterConfig.fromJson constructor

DefaultClusterConfig.fromJson(
  1. Map json_
)

Implementation

DefaultClusterConfig.fromJson(core.Map json_)
    : this(
        binaryAuthorizationConfig:
            json_.containsKey('binaryAuthorizationConfig')
                ? BinaryAuthorizationConfig.fromJson(
                    json_['binaryAuthorizationConfig']
                        as core.Map<core.String, core.dynamic>)
                : null,
        securityPostureConfig: json_.containsKey('securityPostureConfig')
            ? SecurityPostureConfig.fromJson(json_['securityPostureConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
      );