remove static method

Future<bool> remove(
  1. String key
)

Implementation

static Future<bool> remove(String key) async {
  if (_prefs == null) await init();
  if (_prefs?.containsKey(key) ?? false) {
    return await _prefs?.remove(key) ?? false;
  } else {
    return false;
  }
}