YamlModule class

Constructors

YamlModule.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

convertDartToYaml(Map<String, dynamic> map) String
Convert a Map<String,dynamic> into an indented, correct, Yaml String.
extractData(YamlMap yamlContent) Map<String, dynamic>
Extract yaml content to a dart-native Map<String,dynamic>
load(String path) Future<YamlMap>
Load a yaml file into Yaml Map with content that are either maps or lists.
validate(YamlMap yamlContent, YamlValidationSchema schema, {String? yamlFilePath}) Future<void>
Validate a yaml file content using a validation schema. (Optionally pass in yamlFilePath to validate relative pathes)