toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element('Grantee', nest: () {
    builder.element('DisplayName', nest: displayName);
    builder.element('EmailAddress', nest: emailAddress);
    builder.element('ID', nest: iD);
    builder.element('Type', nest: type);
    builder.element('URI', nest: uRI);
  });
  return builder.buildDocument();
}