BoxCollection constructor Null safety

BoxCollection()