getYears method

  1. @override
String getYears(
  1. int years
)
override

Implementation

@override
String getYears(int years) {
  if (years == 0) {
    return '';
  } else {
    return messages.yearsPlural(years);
  }
}