clear method

Future<void> clear()

Implementation

Future<void> clear() async {
  SharedPreferences sharedPreferences = await SharedPreferences.getInstance();
  await sharedPreferences.clear();
}