copyWith method

DeviceListingDTO copyWith({
  1. List<DeviceDTO>? items,
  2. int? count,
})

Implementation

DeviceListingDTO copyWith({List<DeviceDTO>? items, int? count}) {
  return DeviceListingDTO(
      items: items ?? this.items, count: count ?? this.count);
}