toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'fieldToMatch': ?pulumi.Input.mapOptionalInputValue<RuleGroupRuleStatementByteMatchStatementFieldToMatch, Map<String, dynamic>>(fieldToMatch, (value) => value.toMap()),
    'positionalConstraint': positionalConstraint,
    'preParseTextTransformations': ?pulumi.Input.mapOptionalInputValue<List<RuleGroupRuleStatementByteMatchStatementPreParseTextTransformation>, List<Map<String, dynamic>>>(preParseTextTransformations, (value) => pulumi.Input.encodeList<RuleGroupRuleStatementByteMatchStatementPreParseTextTransformation, Map<String, dynamic>>(value, (value) => value.toMap())),
    'searchString': searchString,
    'textTransformations': pulumi.Input.mapInputValue<List<RuleGroupRuleStatementByteMatchStatementTextTransformation>, List<Map<String, dynamic>>>(textTransformations, (value) => pulumi.Input.encodeList<RuleGroupRuleStatementByteMatchStatementTextTransformation, Map<String, dynamic>>(value, (value) => value.toMap())),
  };
}