toJson method

Map<String, dynamic> toJson()

Implementation

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