WebAclDataProtectionConfig.fromMap constructor

WebAclDataProtectionConfig.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory WebAclDataProtectionConfig.fromMap(Map<String, dynamic> map) {
  return WebAclDataProtectionConfig(
    dataProtections: (() { final guardedValue = map['dataProtections']; if (guardedValue == null) return null; return pulumi.Input.fromValue(pulumi.Input.decodeList<WebAclDataProtectionConfigDataProtection>(guardedValue, (value) => WebAclDataProtectionConfigDataProtection.fromMap((value as Map).cast<String, dynamic>()))); })(),
  );
}