XssMatchTuple.fromJson constructor

XssMatchTuple.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory XssMatchTuple.fromJson(Map<String, dynamic> json) {
  return XssMatchTuple(
    fieldToMatch:
        FieldToMatch.fromJson(json['FieldToMatch'] as Map<String, dynamic>),
    textTransformation:
        (json['TextTransformation'] as String).toTextTransformation(),
  );
}