toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element('ReplicationTime', nest: () {
    builder.element('Status', nest: status);
    builder.element('Time', nest: time!.toXml());
  });
  return builder.buildDocument();
}