copyWith method

AiClassificationResponse copyWith({
  1. String? imageClassification,
  2. String? textClassification,
  3. bool? isSensitive,
})

Implementation

AiClassificationResponse copyWith({
  String? imageClassification,
  String? textClassification,
  bool? isSensitive,
}) {
  return AiClassificationResponse(
    imageClassification: imageClassification ?? this.imageClassification,
    textClassification: textClassification ?? this.textClassification,
    isSensitive: isSensitive ?? this.isSensitive,
  );
}