remove static method

Future<bool> remove(
  1. String key
)

Implementation

static Future<bool> remove(String key) {
  if (_preferences == null) {
    debugPrint('StorageUtil, need call await init() first');
    return Future.value(false);
  }

  return _preferences!.remove(key);
}