convert method

  1. @override
WebDavStdResError convert(
  1. XmlElement input
)
override

Converts input and returns the result of the conversion.

Implementation

@override
WebDavStdResError convert(XmlElement input) {
  return WebDavStdResError(
    "",
    conditions: input
        .findElements("*", namespace: input.namespaceUri)
        .map((e) => StdResErrorCond.fromName(e.localName))
        .whereNotNull()
        .toList(),
  );
}