copyWith method
Implementation
DatasetThreadImage copyWith({String? sourcePrompt}) {
return DatasetThreadImage(
generationId: generationId,
uri: uri,
imageId: imageId,
mimeType: mimeType,
status: status,
statusDetail: statusDetail,
width: width,
height: height,
sourcePrompt: sourcePrompt ?? this.sourcePrompt,
prompt: prompt,
);
}