copyWithWrapped method

WebApiModulesHomeControlsPickListUtilityItemStartSessionResponse copyWithWrapped({
  1. Wrapped<String?>? sessionId,
  2. Wrapped<String?>? inventoryTypes,
  3. Wrapped<String?>? inventoryTypeIds,
  4. Wrapped<int?>? status,
  5. Wrapped<bool?>? success,
  6. Wrapped<String?>? msg,
})

Implementation

WebApiModulesHomeControlsPickListUtilityItemStartSessionResponse
    copyWithWrapped(
        {Wrapped<String?>? sessionId,
        Wrapped<String?>? inventoryTypes,
        Wrapped<String?>? inventoryTypeIds,
        Wrapped<int?>? status,
        Wrapped<bool?>? success,
        Wrapped<String?>? msg}) {
  return WebApiModulesHomeControlsPickListUtilityItemStartSessionResponse(
      sessionId: (sessionId != null ? sessionId.value : this.sessionId),
      inventoryTypes: (inventoryTypes != null
          ? inventoryTypes.value
          : this.inventoryTypes),
      inventoryTypeIds: (inventoryTypeIds != null
          ? inventoryTypeIds.value
          : this.inventoryTypeIds),
      status: (status != null ? status.value : this.status),
      success: (success != null ? success.value : this.success),
      msg: (msg != null ? msg.value : this.msg));
}