setGeoLocation static method

XmlDocumentFragment setGeoLocation(
  1. List<LocationEntity> locations
)

XML for the setGeoLocation

Implementation

static XmlDocumentFragment setGeoLocation(List<LocationEntity> locations) {
  builder.element(
    'SetGeoLocation',
    nest: () {
      builder.namespaceUri(null, Xmlns.tds);

      for (var location in locations) {
        location.buildXml(builder);
      }
    },
  );

  return builder.buildFragment();
}