launchPhoneApp static method
Implementation
static void launchPhoneApp(BuildContext context, {required String phoneNumber}) async {
String phone = 'tel:$phoneNumber';
if (await canLaunchUrl(Uri.parse(phone))) {
await launchUrl(Uri.parse(phone));
} else {
debugPrint("Could not launch Phone with $phoneNumber");
}
}