Transition.fromXml constructor
Transition.fromXml(
- XmlElement elem
Implementation
factory Transition.fromXml(_s.XmlElement elem) {
return Transition(
date: _s.extractXmlDateTimeValue(elem, 'Date',
parser: _s.timeStampFromJson),
days: _s.extractXmlIntValue(elem, 'Days'),
storageClass: _s
.extractXmlStringValue(elem, 'StorageClass')
?.toTransitionStorageClass(),
);
}