enclosure method

RssItemBuilder enclosure(
  1. int? length,
  2. String? type,
  3. String? url
)

Implementation

RssItemBuilder enclosure(
  int? length,
  String? type,
  String? url,
) {
  if (length != null && type != null && url != null) {
    _item.enclosure = RssItemEnclosure(
      type: type,
      length: length,
      url: url,
    );
  } else {
    _item.enclosure = null;
  }

  return this;
}