years method

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

Format when time is about a year

Implementation

@override
// ignore: unnecessary_brace_in_string_interps
String years(int years) => '約 ${years} 年';