shareText method
Share text message into whatsapp
phone
is optional for Android, mandatory for Web, MacOS, Linux and Windows.
But it will be ignored on iOS.
Implementation
Future<bool> shareText(String text,
{String? phone, WhatsApp type = WhatsApp.standard}) =>
share(type: type, text: text, phone: phone);