toJson method
Implementation
Map<String, dynamic> toJson() {
final encrypted = this.encrypted;
final targetRegion = this.targetRegion;
final cmkArn = this.cmkArn;
final copyTags = this.copyTags;
final retainRule = this.retainRule;
return {
'Encrypted': encrypted,
'TargetRegion': targetRegion,
if (cmkArn != null) 'CmkArn': cmkArn,
if (copyTags != null) 'CopyTags': copyTags,
if (retainRule != null) 'RetainRule': retainRule,
};
}