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