copyWithWrapped method

GetActiveAlertResponseModel copyWithWrapped({
  1. Wrapped<int?>? deviceeventid,
  2. Wrapped<String?>? name,
  3. Wrapped<int?>? deviceId,
  4. Wrapped<int?>? eventtime,
  5. Wrapped<String?>? eventdatetime,
  6. Wrapped<int?>? datecreated,
  7. Wrapped<String?>? datetimecreated,
})

Implementation

GetActiveAlertResponseModel copyWithWrapped(
    {Wrapped<int?>? deviceeventid,
    Wrapped<String?>? name,
    Wrapped<int?>? deviceId,
    Wrapped<int?>? eventtime,
    Wrapped<String?>? eventdatetime,
    Wrapped<int?>? datecreated,
    Wrapped<String?>? datetimecreated}) {
  return GetActiveAlertResponseModel(
      deviceeventid:
          (deviceeventid != null ? deviceeventid.value : this.deviceeventid),
      name: (name != null ? name.value : this.name),
      deviceId: (deviceId != null ? deviceId.value : this.deviceId),
      eventtime: (eventtime != null ? eventtime.value : this.eventtime),
      eventdatetime:
          (eventdatetime != null ? eventdatetime.value : this.eventdatetime),
      datecreated:
          (datecreated != null ? datecreated.value : this.datecreated),
      datetimecreated: (datetimecreated != null
          ? datetimecreated.value
          : this.datetimecreated));
}