checked_yaml library


checkedYamlDecode<T>(String yamlContent, T constructor(Map), {dynamic sourceUrl, bool allowNull = false}) → T
Decodes yamlContent as YAML and calls constructor with the resulting Map. [...]
toParsedYamlException(CheckedFromJsonException exception, {YamlMap exceptionMap}) ParsedYamlException
Returns a ParsedYamlException for the provided exception. [...]

Exceptions / Errors

An exception thrown when parsing YAML that contains information about the location in the source where the exception occurred.