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 'us';
  } else {
    return 'mikrosekunti' + (amount.abs() != 1 ? 'a' : '');
  }
}