toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element('Encryption', nest: () {
    builder.element('EncryptionType', nest: encryptionType);
    builder.element('KMSContext', nest: kMSContext);
    builder.element('KMSKeyId', nest: kMSKeyId);
  });
  return builder.buildDocument();
}