copyWithWrapped method

DeviceExportV3Body copyWithWrapped({
  1. Wrapped<List<EmailDetailsDTO>?>? emailDetails,
  2. Wrapped<ExportFileTypeDTO>? exportFileType,
  3. Wrapped<String?>? filterText,
  4. Wrapped<bool?>? isUnassignedOnly,
  5. Wrapped<ApprovalDTO?>? dealerOrgApproval,
  6. Wrapped<ConnectionTypeDTO?>? connectionType,
  7. Wrapped<CellularDataStatusDTO?>? cellularDataStatus,
  8. Wrapped<CellularExpiryStatusDTO?>? cellularExpiryStatus,
  9. Wrapped<ExportColumnTemplate?>? columnTemplate,
})

Implementation

DeviceExportV3Body copyWithWrapped(
    {Wrapped<List<EmailDetailsDTO>?>? emailDetails,
    Wrapped<enums.ExportFileTypeDTO>? exportFileType,
    Wrapped<String?>? filterText,
    Wrapped<bool?>? isUnassignedOnly,
    Wrapped<enums.ApprovalDTO?>? dealerOrgApproval,
    Wrapped<enums.ConnectionTypeDTO?>? connectionType,
    Wrapped<enums.CellularDataStatusDTO?>? cellularDataStatus,
    Wrapped<enums.CellularExpiryStatusDTO?>? cellularExpiryStatus,
    Wrapped<enums.ExportColumnTemplate?>? columnTemplate}) {
  return DeviceExportV3Body(
      emailDetails:
          (emailDetails != null ? emailDetails.value : this.emailDetails),
      exportFileType: (exportFileType != null
          ? exportFileType.value
          : this.exportFileType),
      filterText: (filterText != null ? filterText.value : this.filterText),
      isUnassignedOnly: (isUnassignedOnly != null
          ? isUnassignedOnly.value
          : this.isUnassignedOnly),
      dealerOrgApproval: (dealerOrgApproval != null
          ? dealerOrgApproval.value
          : this.dealerOrgApproval),
      connectionType: (connectionType != null
          ? connectionType.value
          : this.connectionType),
      cellularDataStatus: (cellularDataStatus != null
          ? cellularDataStatus.value
          : this.cellularDataStatus),
      cellularExpiryStatus: (cellularExpiryStatus != null
          ? cellularExpiryStatus.value
          : this.cellularExpiryStatus),
      columnTemplate: (columnTemplate != null
          ? columnTemplate.value
          : this.columnTemplate));
}