accept method

void accept({
  1. int? subScore,
})

Process the event that user has accepted this entry as a suggestion.

If subScore not provided then existing subScore is incremented by 1.

Implementation

void accept({int? subScore}) {
  _subScore = subScore ?? _subScore + 1;
}