copyWith method

EpsonPrinterModel copyWith({
  1. required String address,
  2. String? type,
  3. String? model,
  4. String? series,
})

Implementation

EpsonPrinterModel copyWith(
        {required String address,
        String? type,
        String? model,
        String? series}) =>
    EpsonPrinterModel(
        address: address,
        type: type ?? this.type,
        model: model ?? this.model,
        series: series ?? this.series);