createSubPath method

void createSubPath(
  1. String subname
)

在当前目录下创建一个子目录。

subname 子目录的名称。

Implementation

void createSubPath(String subname) {
  Directory('$filename${Platform.pathSeparator}$subname')
      .createSync(recursive: true);
}