checked_yaml library Null safety


checkedYamlDecode<T>(String yamlContent, T constructor(Map?), {Uri? 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.