minute method

  1. @override
String minute(
  1. int amount, [
  2. bool abbreviated = true
])
override

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 'דק.';
  } else {
    return amount == 1 ? 'דקה' : 'דקות';
  }
}