copyWith method

Term copyWith({
  1. String? term,
  2. int? count,
})

Implementation

Term copyWith({
  String? term,
  int? count,
}) {
  return Term(
    term: term ?? this.term,
    count: count ?? this.count,
  );
}