emptyOrCreateDirectory function

Future emptyOrCreateDirectory(
  1. Directory dir
)

Ensure the directory is created and empty. @Deprecated

Implementation

Future emptyOrCreateDirectory(Directory dir) {
  return dir.emptyOrCreate();
}