years method

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

Format when time is about a year

Implementation

@override
String years(int years) {
  if (years == 1) {
    return 'ساڵێک لەمەوپێش';
  }

  return '$years ساڵ لەمەوپێش';
}