clear static method

Future<void> clear()

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();