copyWith method
ChatFirebaseVertexAISafetySetting
copyWith({
- ChatFirebaseVertexAISafetySettingCategory? category,
- ChatFirebaseVertexAISafetySettingThreshold? threshold,
Creates a copy of this ChatFirebaseVertexAISafetySetting object with the given fields replaced with the new values.
Implementation
ChatFirebaseVertexAISafetySetting copyWith({
final ChatFirebaseVertexAISafetySettingCategory? category,
final ChatFirebaseVertexAISafetySettingThreshold? threshold,
}) {
return ChatFirebaseVertexAISafetySetting(
category: category ?? this.category,
threshold: threshold ?? this.threshold,
);
}