whatsapp library
WhatsApp click-to-chat links.
Same as the pakdatakit/whatsapp entry point of the npm package.
Functions
-
createWhatsAppLink(
String phone, [String? message]) → String? -
Creates a WhatsApp click-to-chat (
wa.me) link for a Pakistani mobile number in any supported format, with an optional pre-filledmessage(URL-encoded like JavaScript'sencodeURIComponent).