MethodDeclaration constructor Null safety

MethodDeclaration()