copyWithWrapped method

WebApiModulesPluginsTeamupTeamupPluginLocationSettings copyWithWrapped({
  1. Wrapped<int?>? status,
  2. Wrapped<bool?>? success,
  3. Wrapped<String?>? msg,
  4. Wrapped<String?>? locationId,
  5. Wrapped<String?>? location,
  6. Wrapped<String?>? teamupCalendarKey,
  7. Wrapped<String?>? teamupDeliveryEventCalendarId,
  8. Wrapped<String?>? teamupPickupEventCalendarId,
})

Implementation

WebApiModulesPluginsTeamupTeamupPluginLocationSettings copyWithWrapped({
  Wrapped<int?>? status,
  Wrapped<bool?>? success,
  Wrapped<String?>? msg,
  Wrapped<String?>? locationId,
  Wrapped<String?>? location,
  Wrapped<String?>? teamupCalendarKey,
  Wrapped<String?>? teamupDeliveryEventCalendarId,
  Wrapped<String?>? teamupPickupEventCalendarId,
}) {
  return WebApiModulesPluginsTeamupTeamupPluginLocationSettings(
    status: (status != null ? status.value : this.status),
    success: (success != null ? success.value : this.success),
    msg: (msg != null ? msg.value : this.msg),
    locationId: (locationId != null ? locationId.value : this.locationId),
    location: (location != null ? location.value : this.location),
    teamupCalendarKey: (teamupCalendarKey != null
        ? teamupCalendarKey.value
        : this.teamupCalendarKey),
    teamupDeliveryEventCalendarId: (teamupDeliveryEventCalendarId != null
        ? teamupDeliveryEventCalendarId.value
        : this.teamupDeliveryEventCalendarId),
    teamupPickupEventCalendarId: (teamupPickupEventCalendarId != null
        ? teamupPickupEventCalendarId.value
        : this.teamupPickupEventCalendarId),
  );
}