remove static method

Future<bool> remove(
  1. String key
)

Implementation

static Future<bool> remove(String key) async {
  _preferences ??= await SharedPreferences.getInstance();

  return _preferences!.remove(key);
}