toJson method

Map<String, dynamic> toJson()

Implementation

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