Duration latency

Calculates the latency

Source

Duration get latency {
  if (_latency == null) {
    _latency = created.difference(timestamp);
  }
  return _latency;
}