copyWith method
Implementation
AlgoliaSynonyms copyWith({
String? objectID,
SynonymsType? type,
List<String>? synonyms,
List<String>? corrections,
List<String>? replacements,
String? input,
String? word,
String? placeholder,
bool? forwardToReplicas,
}) {
return AlgoliaSynonyms(
objectID: objectID ?? this.objectID,
type: type ?? this.type,
synonyms: synonyms ?? this.synonyms,
corrections: corrections ?? this.corrections,
replacements: replacements ?? this.replacements,
input: input ?? this.input,
word: word ?? this.word,
placeholder: placeholder ?? this.placeholder,
forwardToReplicas: forwardToReplicas ?? this.forwardToReplicas,
);
}