copyWith method

PrinterResponse copyWith({
  1. String? message,
  2. bool? success,
  3. dynamic data,
})

Implementation

PrinterResponse copyWith({
  String? message,
  bool? success,
  dynamic data,
}) {
  return PrinterResponse(
    message: message ?? this.message,
    success: success ?? this.success,
    data: data ?? this.data,
  );
}