copyWithWrapped method

PronunciationDictionaryAliasRuleRequestModel copyWithWrapped({
  1. Wrapped<String>? stringToReplace,
  2. Wrapped<String>? type,
  3. Wrapped<String>? alias,
})

Implementation

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