yaml_module
library
Enums
-
YamlValueType
-
Type of the field: 'string', 'int', 'bool', 'list', 'map' , 'directoryPath', or 'filePath'.
Functions
-
convertDartToYamlImpl(Map<String, dynamic> map, {int indentLevel = 0})
→ String
-
-
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, {String? yamlFilePath})
→ Future<void>
-