send method
Sends a message via WhatsApp to the given phone number.
phone: Phone number in E.164 format without the+sign (e.g."1234567890").text: The text body of the message.filePath: Optional absolute path to a local image file. When provided the image is shared alongside the text.
Throws a PlatformException when WhatsApp is not installed or the
file cannot be found.
Implementation
Future<void> send({
required String phone,
required String text,
String? filePath,
}) {
throw UnimplementedError('send() has not been implemented.');
}