Term.fromMap constructor

Term.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory Term.fromMap(Map<String, dynamic> map) {
  return Term(
    term: map['term'],
    count: map['count'],
  );
}