loadYamlImpl function

Future<YamlMap> loadYamlImpl(
  1. String path
)

Load YamlMap model from the Yaml file path.

Implementation

Future<YamlMap> loadYamlImpl(String path) async {
  return await loadYamlDocument(await IOHelper.file.readAsString(path),
          errorListener: _ErrListener())
      .contents
      .value;
}