toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final kmsKeyId = this.kmsKeyId;
  final s3Uri = this.s3Uri;
  return {
    if (kmsKeyId != null) 'KmsKeyId': kmsKeyId,
    if (s3Uri != null) 'S3Uri': s3Uri,
  };
}