toJson method

Map<String, dynamic> toJson()

Implementation

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