Bucket.fromXml constructor
Bucket.fromXml(
- XmlElement xml
Implementation
factory Bucket.fromXml(XmlElement xml) {
return Bucket(
DateTime.parse(getProp(xml, 'CreationDate')!.innerText),
getProp(xml, 'Name')!.innerText,
);
}