copyWith method

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

Implementation

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