phone static method
open phone dial
Implementation
static Future<bool> phone(
{String phoneNumber = "",
OpenMode mode = OpenMode.platformDefault}) async {
try {
return await launchUrl(Uri.parse("tel:$phoneNumber"),
mode: _getLaunchMode(mode));
} catch (e) {
return false;
}
}