title: How to assign new value if you setting the setter private in kotlin?
body: <p>I am new in kotlin and not able to understand how the getter and setter behave in kotlin, so if I set the setter to private. Then what is the way of updating the value. </p>
  
  <pre><code>package foo
  
  class Person() {
  var name: String = "defaultValue"
     private set
  
  }
  </code></pre>