CompletedPart.fromXml constructor

CompletedPart.fromXml(
  1. XmlElement? xml
)

Implementation

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