getYamlPath method

Future<String> getYamlPath()

Implementation

Future<String> getYamlPath() async {
  String yamlPath = localPath;
  var exists = await Directory(localPath).exists();
  if (exists) {
    yamlPath = localPath;

    return yamlPath;
  }

  throw FileSystemException('Yaml file not found in local path');
}