clear static method
Clears all data in the shared preferences.
This removes all key-value pairs stored in the shared preferences.
Implementation
static Future<void> clear() => sharedPrefs.clear();
Clears all data in the shared preferences.
This removes all key-value pairs stored in the shared preferences.
static Future<void> clear() => sharedPrefs.clear();