WebAclDataProtectionConfigDataProtectionField.fromMap constructor

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

Implementation

factory WebAclDataProtectionConfigDataProtectionField.fromMap(Map<String, dynamic> map) {
  return WebAclDataProtectionConfigDataProtectionField(
    fieldKeys: (() { final guardedValue = map['fieldKeys']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as List).cast<String>()); })(),
    fieldType: pulumi.Input.fromValue(map['fieldType'] as String),
  );
}