entityExists function

Future<bool> entityExists(
  1. FileSystemEntity entity
)

Implementation

Future<bool> entityExists(FileSystemEntity entity) async {
  return (FileSystemEntity.typeSync(entity.path)) !=
      FileSystemEntityType.notFound;
}