getYamlFile function

Future<File> getYamlFile([
  1. String name = 'pubspec.yaml'
])

获取指定的yaml文件

Implementation

Future<File> getYamlFile([String name = 'pubspec.yaml']) async => File(join(await PROJECT_PATH, 'pubspec.yaml'));