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 'μ';
  } else {
    return 'μικροδευτερόλεπτ' + (amount.abs() != 1 ? 'α' : 'ο');
  }
}