deletePath method

void deletePath(
  1. String path, {
  2. bool recursive = true,
})

Implementation

void deletePath(
  String path, {
  bool recursive = true,
}) {
  if (_store.hasValue(path) || recursive && _store.hasPath(path)) {
    _store.delete(path, recursive: recursive);
    isDirty = true;
  }
}