toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final encryptionConfiguration = this.encryptionConfiguration;
  final target = this.target;
  final retainRule = this.retainRule;
  return {
    'EncryptionConfiguration': encryptionConfiguration,
    'Target': target,
    if (retainRule != null) 'RetainRule': retainRule,
  };
}