toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'comparisonOperator': comparisonOperator,
    'fieldToMatch': ?pulumi.Input.mapOptionalInputValue<RuleGroupRuleStatementSizeConstraintStatementFieldToMatch, Map<String, dynamic>>(fieldToMatch, (value) => value.toMap()),
    'preParseTextTransformations': ?pulumi.Input.mapOptionalInputValue<List<RuleGroupRuleStatementSizeConstraintStatementPreParseTextTransformation>, List<Map<String, dynamic>>>(preParseTextTransformations, (value) => pulumi.Input.encodeList<RuleGroupRuleStatementSizeConstraintStatementPreParseTextTransformation, Map<String, dynamic>>(value, (value) => value.toMap())),
    'size': size,
    'textTransformations': pulumi.Input.mapInputValue<List<RuleGroupRuleStatementSizeConstraintStatementTextTransformation>, List<Map<String, dynamic>>>(textTransformations, (value) => pulumi.Input.encodeList<RuleGroupRuleStatementSizeConstraintStatementTextTransformation, Map<String, dynamic>>(value, (value) => value.toMap())),
  };
}