RegexPatternSetReferenceStatement.fromJson constructor
RegexPatternSetReferenceStatement.fromJson(
- Map<String, dynamic> json
)
Implementation
factory RegexPatternSetReferenceStatement.fromJson(
Map<String, dynamic> json) {
return RegexPatternSetReferenceStatement(
arn: json['ARN'] as String,
fieldToMatch:
FieldToMatch.fromJson(json['FieldToMatch'] as Map<String, dynamic>),
textTransformations: (json['TextTransformations'] as List)
.whereNotNull()
.map((e) => TextTransformation.fromJson(e as Map<String, dynamic>))
.toList(),
);
}