clear method

Future<bool> clear()
override

Implementation

Future<bool> clear() async {
  try {
    return await Database.getSharedPreferences().clear();
  } catch (_) {}

  return false;
}