copyWith method
Implementation
@override
PcPacket copyWith({
DateTime? timestamp,
int? commandId,
String? message,
}) {
return PcPacket(
timestamp: timestamp ?? this.timestamp,
commandId: commandId ?? this.commandId,
message: message ?? this.message,
);
}