convert method

  1. @override
LockScope? convert(
  1. XmlElement input
)
override

Converts input and returns the result of the conversion.

Implementation

@override
LockScope? convert(XmlElement input) {
  final scopeNode = input.getElement("*", namespace: input.namespaceUri);
  if (scopeNode == null) return null;
  return LockScope.fromName(scopeNode.localName.toLowerCase());
}