SqliMatchStatement.fromJson constructor

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

Implementation

factory SqliMatchStatement.fromJson(Map<String, dynamic> json) {
  return SqliMatchStatement(
    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(),
  );
}