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 'm';
} else {
return 'minut${(amount == 0 || amount > 1) ? 'i' : 'o'}';
}
}