copyWith method
Implementation
PrCommand copyWith({
String? deviceId,
String? data,
String? printerId,
}) =>
PrCommand(
deviceId: deviceId ?? this.deviceId,
data: data ?? this.data,
printerId: printerId ?? this.printerId,
);