openLink method

Future<void> openLink(
  1. String? _url
)

Implementation

Future<void> openLink(String? _url) async {
  if (!await launchUrl(Uri.parse(_url!))) {
    throw 'Could not launch $_url';
  }
}