timelineField property Null safety

JsonPath? timelineField

Implementation

JsonPath? get timelineField => dates
    .orEmptyList()
    .firstOrNull((date) => date.isHistorical == true)
    ?.path;