createDirectory abstract method

Future<void> createDirectory(
  1. String path, {
  2. bool recursive = false,
})

Creates a directory at path.

With recursive, missing parent directories are created and an existing directory is accepted. Without it, the parent must exist and an existing directory throws.

Implementation

Future<void> createDirectory(String path, {bool recursive = false});