join static method

String join(
  1. String path,
  2. String name
)

在一个目录下追加一个目录或文件名 使用示例 void example() { PPath.join('documents', 'dir1', 'file.txt'); } 返回:documents/dir1/file.txt

Implementation

static String join(String path, String name) {
  //增加多个可参考:join('documents', 'dir1', 'file.txt')
  return dart_path.join(path, name);
}