Duration elapsed(DateTime now) => startedAt == null ? Duration.zero : (finishedAt ?? now).difference(startedAt!);