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