Transition.fromXml constructor
Transition.fromXml(
- XmlElement? xml
Implementation
Transition.fromXml(XmlElement? xml) {
date = DateTime.parse(getProp(xml, 'Date')!.innerText);
days = int.tryParse(getProp(xml, 'Days')!.innerText);
storageClass = getProp(xml, 'StorageClass')?.innerText;
}