microseconds method

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

Print amount microseconds for the corresponding locale. The unit is abbreviated if abbreviated is set to true.

Implementation

@override
String microseconds(int amount, [bool abbreviated = true]) {
  if (abbreviated) {
    return 'µs';
  } else {
    return amount == 1 ? 'מיקרו שניה' : 'מיקרו שניות';
  }
}