IfElement constructor Null safety

IfElement()