saveAt method

FutureOr<String?> saveAt(
  1. String rootPath
)

Implementation

FutureOr<String?> saveAt(String rootPath) {
  var dirPath = pack_path.join(rootPath, directory);
  return getContentAsBytes().resolveMapped((content) {
    return storage.saveFileContent(dirPath, name, content);
  });
}