copyWithWrapped method

NotificationInfo copyWithWrapped({
  1. Wrapped<int?>? notificationInfoSid,
  2. Wrapped<String?>? userid,
  3. Wrapped<String?>? fcmtoken,
  4. Wrapped<String?>? mobileDevice,
})

Implementation

NotificationInfo copyWithWrapped(
    {Wrapped<int?>? notificationInfoSid,
    Wrapped<String?>? userid,
    Wrapped<String?>? fcmtoken,
    Wrapped<String?>? mobileDevice}) {
  return NotificationInfo(
      notificationInfoSid: (notificationInfoSid != null
          ? notificationInfoSid.value
          : this.notificationInfoSid),
      userid: (userid != null ? userid.value : this.userid),
      fcmtoken: (fcmtoken != null ? fcmtoken.value : this.fcmtoken),
      mobileDevice:
          (mobileDevice != null ? mobileDevice.value : this.mobileDevice));
}