copyWithWrapped method

FCMTemplate copyWithWrapped({
  1. Wrapped<String>? title,
  2. Wrapped<String>? content,
})

Implementation

FCMTemplate copyWithWrapped(
    {Wrapped<String>? title, Wrapped<String>? content}) {
  return FCMTemplate(
      title: (title != null ? title.value : this.title),
      content: (content != null ? content.value : this.content));
}