Image23D.fromJson constructor

Image23D.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Image23D.fromJson(Map<String, dynamic> json) {
  return Image23D(
    key: json['key'],
    webhook: json['webhook'],
    trackId: json['track_id'],
    image: json['image'],
    resolution: json['resolution'],
    outputFormat: json['output_format'],
    render: json['render'],
    seed: json['seed'],
    multiImage: json['multi_image'],
    ssGuidanceStrength: (json['ss_guidance_strength'] as num?)?.toDouble(),
    slatGuidanceStrength:
        (json['slat_guidance_strength'] as num?)?.toDouble(),
    slatSamplingSteps: json['slat_sampling_steps'],
    meshSimplify: (json['mesh_simplify'] as num?)?.toDouble(),
    chunkSize: json['chunk_size'],
    temp: json['temp'],
  );
}