I've got the following set function on a local fie...
# getting-started
f
I've got the following set function on a local field:
Copy code
var ratio: Double = 0.0
    set(value) {
        field = value
        invalidate()
    }
Is it possible to skip this when setting the field from inside the class itself? Or should I just remove that `set`and create a new function
fun setRatio(ratio: Double)
that invalidates it?