minute method
Print amount
minute for the corresponding locale. The unit is abbreviated
if abbreviated
is set to true.
Implementation
@override
String minute(int amount, [bool abbreviated = true]) {
if (abbreviated) {
return 'min';
} else {
return 'minuutti${amount.abs() != 1 ? 'a' : ''}';
}
}