For me, I used emptyList() instead of null so I want to suggest this PR for this.

Comment From: snicoll

Thanks for the PR but as Spencer pointed out, there is no enforcement in the other constructor.