remove static method

Future<bool>? remove(
  1. String key
)

remove. 移除sp中key的值

Implementation

static Future<bool>? remove(String key) {
  if (_prefs == null) {
    return null;
  }
  return _prefs?.remove(key);
}