toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final s3BucketName = this.s3BucketName;
  final s3Key = this.s3Key;
  return {
    if (s3BucketName != null) 'S3BucketName': s3BucketName,
    if (s3Key != null) 'S3Key': s3Key,
  };
}