yaml_module
library
Functions
-
Extract all data from a YAML file as primitive data types (String, int, bool, List, Map).
-
loadYaml(String yaml, {Uri? sourceUrl, bool recover = false, ErrorListener? errorListener})
→ dynamic
-
Loads a single document from a YAML string.
-
loadYamlDocument(String yaml, {Uri? sourceUrl, bool recover = false, ErrorListener? errorListener})
→ YamlDocument
-
Loads a single document from a YAML string as a YamlDocument.
-
loadYamlDocuments(String yaml, {Uri? sourceUrl})
→ List<YamlDocument>
-
Loads a stream of documents from a YAML string.
-
loadYamlImpl(String path)
→ Future<YamlMap>
-
Load
YamlMap
model from the Yaml file path.
-
loadYamlNode(String yaml, {Uri? sourceUrl, bool recover = false, ErrorListener? errorListener})
→ YamlNode
-
Loads a single document from a YAML string as a YamlNode.
-
loadYamlStream(String yaml, {Uri? sourceUrl})
→ YamlList
-
Loads a stream of documents from a YAML string.
-
validateYamlImpl(YamlMap yamlContent, YamlValidationSchema schema)
→ Future<void>
-
Exceptions / Errors
-
YamlException
-
An error thrown by the YAML processor.