newPubspecYamlFile method

File newPubspecYamlFile(
  1. String directoryPath,
  2. String content
)

Writes a pubspec.yaml file at directoryPath with content.

Implementation

File newPubspecYamlFile(String directoryPath, String content) {
  String path = join(directoryPath, file_paths.pubspecYaml);
  return newFile(path, content);
}