copyWithWrapped method

NotificationSendV3Body copyWithWrapped({
  1. Wrapped<List<String>>? tags,
  2. Wrapped<String>? message,
  3. Wrapped<String>? type,
  4. Wrapped<Map<String, dynamic>>? data,
  5. Wrapped<PlatformDTO?>? platform,
})

Implementation

NotificationSendV3Body copyWithWrapped(
    {Wrapped<List<String>>? tags,
    Wrapped<String>? message,
    Wrapped<String>? type,
    Wrapped<Map<String, dynamic>>? data,
    Wrapped<enums.PlatformDTO?>? platform}) {
  return NotificationSendV3Body(
      tags: (tags != null ? tags.value : this.tags),
      message: (message != null ? message.value : this.message),
      type: (type != null ? type.value : this.type),
      data: (data != null ? data.value : this.data),
      platform: (platform != null ? platform.value : this.platform));
}