parse static method

RssCloud? parse(
  1. XmlElement? node
)

Implementation

static RssCloud? parse(XmlElement? node) {
  if (node == null) {
    return null;
  }

  final domain = node.getAttribute('domain');
  final port = node.getAttribute('port');
  final path = node.getAttribute('path');
  final registerProcedure = node.getAttribute('registerProcedure');
  final protocol = node.getAttribute('protocol');

  return RssCloud(domain, port, path, registerProcedure, protocol);
}