copyWithWrapped method

WidgetLanguagePresetResponse copyWithWrapped({
  1. Wrapped? firstMessage,
  2. Wrapped? textContents,
})

Implementation

WidgetLanguagePresetResponse copyWithWrapped(
    {Wrapped<dynamic>? firstMessage, Wrapped<dynamic>? textContents}) {
  return WidgetLanguagePresetResponse(
      firstMessage:
          (firstMessage != null ? firstMessage.value : this.firstMessage),
      textContents:
          (textContents != null ? textContents.value : this.textContents));
}