While it is not noticeable how to augment a immediate member accessibility like foo.num = num, You can certainly augment your regular setter with a further drive parameter: There is absolutely no other decision. Properties are not able to store any knowledge Although, it could search they can achieve this. https://herohomesrealty.in/hero-homes-sector-104-gurgaon-wellness-living-with-urban-connectivity/