See @michael-puckett-ii 's response for a vital Notice on when your expression bodied member makes a different item (it will produce a new instance everytime you call the member) I had the identical dilemma As well as in my scenario I had been employing bool as an alternative to Boolean. https://conscientgurugram.in/