buildXml method

void buildXml(
  1. XmlBuilder builder, {
  2. String tag = 'PtzSpeed',
  3. String namespace = Xmlns.tt,
})

Implementation

void buildXml(
  XmlBuilder builder, {
  String tag = 'PtzSpeed',
  String namespace = Xmlns.tt,
}) =>
    builder.element(tag, nest: () {
      builder.namespace(namespace);

      panTilt?.buildXml(builder, tag: 'PanTilt');

      zoom?.buildXml(builder, tag: 'Zoom');
    });