DateCodec constructor Null safety

DateCodec()