SizeConstraint.fromJson constructor
Implementation
factory SizeConstraint.fromJson(Map<String, dynamic> json) {
return SizeConstraint(
comparisonOperator:
(json['ComparisonOperator'] as String).toComparisonOperator(),
fieldToMatch:
FieldToMatch.fromJson(json['FieldToMatch'] as Map<String, dynamic>),
size: json['Size'] as int,
textTransformation:
(json['TextTransformation'] as String).toTextTransformation(),
);
}