ligarPaciente function
Implementation
ligarPaciente(String url, BuildContext context) async {
await canLaunch(url)
? await launch(url)
: showDialog(
context: context,
builder: (BuildContext context) {
return const AlertDialog(
title: Text('Alerta !!'),
content: Text('Não foi possivel encontar um APP compatível.'),
);
});
}