recentYearsLabel method

  1. @override
String recentYearsLabel(
  1. int count
)
override

Label for recent years choice on quick choices.

Implementation

@override
String recentYearsLabel(int count) {
  assert(count > 0);
  return 'Last $count ${count == 1 ? 'year' : 'years'}';
}