Can i store a Map<String, Object> inside a Shared Preferences in dart? : <p>Is there a way that we could save a map object into shared preferences so that we can fetch the data from shared preferences rather than listening to the database all the time.
actually i want to reduce the amount of data downloaded from firebase. so i am thinking of a solution to have a listener for shared prefs and read the data from shared prefs.</p>

<p>But i dont see a way of achieving this in flutter or dart.</p>

<p>Please can someone help me to achieve this if there is a workaround.</p>

<p>Many Thanks,
Mahi </p>
