ByteMatchTuple.fromJson constructor
ByteMatchTuple.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ByteMatchTuple.fromJson(Map<String, dynamic> json) {
return ByteMatchTuple(
fieldToMatch:
FieldToMatch.fromJson(json['FieldToMatch'] as Map<String, dynamic>),
positionalConstraint:
(json['PositionalConstraint'] as String).toPositionalConstraint(),
targetString: _s.decodeUint8List(json['TargetString']! as String),
textTransformation:
(json['TextTransformation'] as String).toTextTransformation(),
);
}