TypeDefinition constructor Null safety

TypeDefinition()