FixedResponseActionConfig.fromXml constructor

FixedResponseActionConfig.fromXml(
  1. XmlElement elem
)

Implementation

factory FixedResponseActionConfig.fromXml(_s.XmlElement elem) {
  return FixedResponseActionConfig(
    statusCode: _s.extractXmlStringValue(elem, 'StatusCode')!,
    contentType: _s.extractXmlStringValue(elem, 'ContentType'),
    messageBody: _s.extractXmlStringValue(elem, 'MessageBody'),
  );
}