remove method
Implementation
Future<void> remove(
String path, {
bool useMemory = false,
bool nowWrite = true,
bool isFailTip = true,
}) async {
final AssetItem? asset = list.remove(path);
if (asset == null) return;
await Future.wait([
asset.remove(
useMemory: useMemory,
isFailTip: isFailTip,
),
if (nowWrite) writeListFile(),
]);
}