setentry constructor Null safety

setentry()