append method

String append(
  1. TimeSpan self
)

Implementation

String append(TimeSpan self) {
  if (isVirtual) return "";
  final value = self._values[this!.index];
  if (value.isZero || isVirtual) return "";
  String? numFormat = this == TimeSpanUnit.second
      ? value.formatNumber(fixed: 6)
      : value.formatNumber();
  return "$numFormat$marker";
}