convert method

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

Converts input and returns the result of the conversion.

Implementation

@override
WebDavStdResResultView convert(XmlElement input) {
  return WebDavStdResponseResult.fromMap(
    Map.fromEntries(input
        .findElements(WebDavElementNames.response,
            namespace: input.namespaceUri)
        .map((e) => _responseParser.convert(e))
        .expand((e) => e)
        .map((e) => MapEntry(e.path, e))),
  );
}