delete method
Implementation
@override
Future<bool> delete(FilePath path) async {
final pathStr = path.pathJoin;
if (await FileSystemEntity.isDirectory(pathStr)) {
await storeDir.dir(pathStr).delete(recursive: true);
return true;
} else if (await FileSystemEntity.isFile(pathStr)) {
await storeDir.file(pathStr).delete();
return true;
}
return false;
}