Term.fromJson constructor

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

Implementation

factory Term.fromJson(Map<String, dynamic> json) {
  return Term(
    offset: json['offset'] as int?,
    value: json['value'] as String?,
  );
}