enclosure method
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;
}