Term.fromJson constructor

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

Implementation

factory Term.fromJson(Map<String, dynamic> json) {
  return Term(
    sourceText: json['SourceText'] as String?,
    targetText: json['TargetText'] as String?,
  );
}