Another question: If I have some properties with c...
# getting-started
m
Another question: If I have some properties with constrains when you set them, (for example property for minute that cant be less than 0 or greater than 60) . A way of doing so is to define your own setter using "Backing field" as I found in documentation. However, if I have a bunch of properties that have constraints - it does not look very appealing to me to define a setter after each property. I would like to have all properties at the top and have all setters below. I tried using a function, but I can not name my function "set<name-of-my-property>" because it is reserved. I can of course choose another name of a function, but my question is: is there any way to override that function and use my own implementation of a setter without having to write it below every property?