I am trying to assign value to the sharedPreference
sharedPreferences.setString('destination', 'supermarket');
But I'm having the following error.
Unhandled Exception: FormatException: Unexpected character (at character 1)
E/flutter ( 3073): supermarket