checked_yaml library
Functions
-
checkedYamlDecode<
T> (String yamlContent, T constructor(Map?), {Uri? sourceUrl, bool allowNull = false}) → T -
Decodes
yamlContent
as YAML and callsconstructor
with the resulting Map. -
toParsedYamlException(
CheckedFromJsonException exception, {YamlMap? exceptionMap}) → ParsedYamlException -
Returns a ParsedYamlException for the provided
exception
.
Exceptions / Errors
- ParsedYamlException
- An exception thrown when parsing YAML that contains information about the location in the source where the exception occurred.