years method

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

Format when time is about a year

Implementation

@override
String years(int years) => '$years वर्षों पहले';