copyWith method

DatasetThreadImage copyWith({
  1. String? sourcePrompt,
})

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,
  );
}