toJson method

Map<String, dynamic> toJson()

Implementation

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