ContentTypeProfileConfig.fromXml constructor

ContentTypeProfileConfig.fromXml(
  1. XmlElement elem
)

Implementation

factory ContentTypeProfileConfig.fromXml(_s.XmlElement elem) {
  return ContentTypeProfileConfig(
    forwardWhenContentTypeIsUnknown:
        _s.extractXmlBoolValue(elem, 'ForwardWhenContentTypeIsUnknown')!,
    contentTypeProfiles: _s
        .extractXmlChild(elem, 'ContentTypeProfiles')
        ?.let((e) => ContentTypeProfiles.fromXml(e)),
  );
}