clearSavedSettings static method

Future<void> clearSavedSettings()

Implementation

static Future<void> clearSavedSettings() async {
  var prefs = await SharedPreferences.getInstance();
  await prefs.remove('userIgnoredVersion');
  await prefs.remove('lastTimeAlerted');
  await prefs.remove('lastVersionAlerted');

  return;
}