toJson method
Implementation
Map<String, dynamic> toJson() {
final destinationArn = this.destinationArn;
final kmsKeyArn = this.kmsKeyArn;
return {
if (destinationArn != null) 'destinationArn': destinationArn,
if (kmsKeyArn != null) 'kmsKeyArn': kmsKeyArn,
};
}