ClassDefinition constructor Null safety

ClassDefinition()