todas las clases funcionales

This commit is contained in:
2024-05-16 16:13:59 +02:00
parent 0c1ef39a32
commit 5f4dc6fc01
6 changed files with 119 additions and 75 deletions

View File

@ -41,11 +41,13 @@ Future<void> launchAemetURL() async {
final url = Uri.parse(urlString);
try {
if (await canLaunch(urlString)) {
await launch(urlString);
/* if (await canLaunch(urlString)) {
await launch(urlString);
} else {
throw 'Could not launch $urlString';
}
}*/
} catch (e) {
throw Exception('Error al lanzar la URL de Aemet: $e');
}