create method

Future<Directory> create(
  1. String path
)

Creates a directory at the specified path (The directory's name is the last is that path).

Implementation

Future<Directory> create(String path) async =>
    await createDirectory(path.replaceSeparator());