decode method
Implementation
DecodeOutput decode(DecodeInput input) {
final dynamic decoded;
try {
decoded = loadYaml(input.yaml);
} catch (e) {
return DecodeOutput(isError: true, errorMessage: e.toString());
}
return DecodeOutput(
value: convertFromDart(decoded),
);
}