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