copyWithWrapped method

LanguagePresetTranslation copyWithWrapped({
  1. Wrapped<String>? sourceHash,
  2. Wrapped<String>? text,
})

Implementation

LanguagePresetTranslation copyWithWrapped(
    {Wrapped<String>? sourceHash, Wrapped<String>? text}) {
  return LanguagePresetTranslation(
      sourceHash: (sourceHash != null ? sourceHash.value : this.sourceHash),
      text: (text != null ? text.value : this.text));
}