copyWith method

PronunciationDictionaryPhonemeRuleRequestModel copyWith({
  1. String? stringToReplace,
  2. String? type,
  3. String? phoneme,
  4. String? alphabet,
})

Implementation

PronunciationDictionaryPhonemeRuleRequestModel copyWith(
    {String? stringToReplace,
    String? type,
    String? phoneme,
    String? alphabet}) {
  return PronunciationDictionaryPhonemeRuleRequestModel(
      stringToReplace: stringToReplace ?? this.stringToReplace,
      type: type ?? this.type,
      phoneme: phoneme ?? this.phoneme,
      alphabet: alphabet ?? this.alphabet);
}