CompletedPart.fromXml constructor

CompletedPart.fromXml(
  1. XmlElement? xml
)

Implementation

CompletedPart.fromXml(XmlElement? xml) {
  eTag = getProp(xml, 'ETag')?.innerText;
  partNumber = int.tryParse(getProp(xml, 'PartNumber')!.innerText);
}