RssCloud.parse constructor

RssCloud.parse(
  1. XmlElement node
)

Parse constructor for the RssCloud class, used when 'parsing' a feed

Implementation

factory RssCloud.parse(XmlElement node) {
  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);
}