title: How to update the local json field in flutter
body: <p>I am new to flutter and dart I read a lot of web article and documentation but didn't able to figure out how to update JSON field I have a local JSON file like</p>
  
  <pre><code> {
  "category": "Happiness",
  "quotes":[
    {
    "quote":"I hope you will find a reason to smile",
    "favorite":false
    },
    {
    "quote":"Sometimes your joy is the source of your smile, but sometimes your smile can be the source of your joy.",
    "favorite":false
    }]}
  </code></pre>
  
  <p>I want to update the filed favorite to true in JSON file  Is there any way to do this</p>