clear static method
Clears all SharedPreferences
values.
Optionally pass an allowList
to retain specific keys.
Implementation
@Deprecated('Use instance.clear() instead')
static Future<void> clear({Set<String>? allowList}) async {
throw UnsupportedError(
'This method is deprecated. Use Prf.instance.clear() instead.');
}