MerchantFeedGenerator class

Generates Google Merchant Center compliant XML RSS 2.0 product feeds.

Constructors

MerchantFeedGenerator({required String storeName, required String storeUrl, required String storeDescription})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
storeDescription → String
final
storeName → String
final
storeUrl → String
final

Methods

generateXmlFeed(List<ProductItem> products) → String
Emits Google-compliant RSS 2.0 XML with the xmlns:g="http://base.google.com/ns/1.0" namespace.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited