retentionOrNull

Returns the value of the retention field if present, otherwise null.