I am having fun with the compiler --strictNullCheck option
I have this method:
I need to check if the headers are not null before i can use them. That's great
Now I would like to move the checking operation to the separate method like this:
But not I'm getting this error:
So there is no way to check if some object or the some of its property is not null in the separate method?



