copyWithWrapped method

PronunciationDictionaryPhonemeRuleRequestModel copyWithWrapped({
  1. Wrapped<String>? stringToReplace,
  2. Wrapped<String>? type,
  3. Wrapped<String>? phoneme,
  4. Wrapped<String>? alphabet,
})

Implementation

PronunciationDictionaryPhonemeRuleRequestModel copyWithWrapped(
    {Wrapped<String>? stringToReplace,
    Wrapped<String>? type,
    Wrapped<String>? phoneme,
    Wrapped<String>? alphabet}) {
  return PronunciationDictionaryPhonemeRuleRequestModel(
      stringToReplace: (stringToReplace != null
          ? stringToReplace.value
          : this.stringToReplace),
      type: (type != null ? type.value : this.type),
      phoneme: (phoneme != null ? phoneme.value : this.phoneme),
      alphabet: (alphabet != null ? alphabet.value : this.alphabet));
}