ContentTypeProfile.fromXml constructor

ContentTypeProfile.fromXml(
  1. XmlElement elem
)

Implementation

factory ContentTypeProfile.fromXml(_s.XmlElement elem) {
  return ContentTypeProfile(
    contentType: _s.extractXmlStringValue(elem, 'ContentType')!,
    format: _s.extractXmlStringValue(elem, 'Format')!.toFormat(),
    profileId: _s.extractXmlStringValue(elem, 'ProfileId'),
  );
}