buildXml method

  1. @override
void buildXml(
  1. XmlBuilder builder, {
  2. String tag = 'IPv4Address',
  3. String? namespace = Xmlns.tds,
})
override

Implementation

@override
void buildXml(
  XmlBuilder builder, {
  String tag = 'IPv4Address',
  String? namespace = Xmlns.tds,
}) =>
    builder.element(tag, nest: () {
      builder.namespace(namespace!);

      address.buildXml(builder, tag: 'Address');

      prefixLength.toString().buildXml(builder, tag: 'PrefixLength');
    });